RAL Classic color

RAL 1005 Honey yellow #A98307

RAL 1005 Honey yellow is shown here as #A98307, a widely published sRGB approximation of the printed swatch. It is a soft amber in the yellow family. In OKLCH it sits at lightness 0.629, chroma 0.127 and hue 87.8°. The nearest CSS named color is darkgoldenrod (#B8860B), ΔE2000 4.0 away.

Relative luminance
0.2468
OKLCH L · C · h
0.629 · 0.127 · 87.8
Best text
Black 5.93:1
Hue family
Yellow

#A98307 color codes

HEX
#A98307
RGB
rgb(169, 131, 7)
HSL
hsl(46, 92%, 35%)
OKLCH
oklch(0.629 0.127 87.8)
OKLab
oklab(0.629 0.005 0.127)
CIELAB (D65)
L* 56.77, a* 4.64, b* 60.83
XYZ (D65)
X 24.52, Y 24.68, Z 3.67
CMYK (naive)
cmyk(0%, 22%, 96%, 34%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.

Legibility

Contrast: is #A98307 accessible?

Black text on it reaches 5.93:1, passing AA. White text manages only 3.53:1, enough for large text only.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    5.93:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc +41
  • White text on it

    3.53:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc −68
  • As text on black

    5.93:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc −38
  • As text on white

    3.53:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc +62

Nearest versions that pass 4.5:1

  • For text on white

    #947200 4.50:1

    Darkening its OKLCH lightness from 0.63 to 0.57 reaches 4.50:1 on white, keeping the hue.

  • For text on black

    #A98307 5.93:1

    It already reaches 5.93:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #A98307 live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #A98307

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #A98307 sits at step 500.

  1. 50#FFF4DB
    White
    1.09
    Black
    19.21
  2. 100#FFE9B6
    White
    1.19
    Black
    17.58
  3. 200#F6D37E
    White
    1.44
    Black
    14.53
  4. 300#DEB95C
    White
    1.87
    Black
    11.20
  5. 400#C29C36
    White
    2.59
    Black
    8.10
  6. 500This color#A98307
    White
    3.53
    Black
    5.93
  7. 600#8A6A00
    White
    5.06
    Black
    4.14
  8. 700#6E5400
    White
    7.16
    Black
    2.93
  9. 800#503D00
    White
    10.45
    Black
    2.00
  10. 900#352700
    White
    14.56
    Black
    1.44
  11. 950#1E1500
    White
    18.06
    Black
    1.16

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #A98307 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.129; #A98307 uses 99% of it. Display P3, which many recent phones and laptops show, reaches 0.148 there: 15% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.127
sRGB edge
0.129
Display P3 edge
0.148
Rec. 2020 edge
0.152
Dominant wavelength
578 nm
Excitation purity
81%
Chromaticity
x 0.4637, y 0.4668
  • This color#A98307
  • Most vivid in sRGB#A98300
  • Most vivid in Display P3oklch(0.629 0.148 87.8)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #a98307;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.6565 0.5137 0); }
}

Mixing

Mixing #A98307

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#D4C183
  • OKLab50%#D4C194
  • OKLCH50%#D4C194

Black #000000

  • sRGB50%#554204
  • OKLab50%#3F2F01
  • OKLCH50%#3F2F01

Its complement #6784D6

  • sRGB50%#88846F
  • OKLab50%#888889
  • OKLCH50%#C56589
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #a98307, white);
color: color-mix(in oklch, #a98307 50%, white);

In use

#A98307 in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:15.93:1 Passes
  • Link and body-size textText, 4.5:13.53:1 Fails
  • Large headingLarge text, 3:13.53:1 Passes
  • Icons, borders and focus ringsNon-text, 3:13.53:1 Passes

For text on this page, the nearest shade that passes is #947200 4.50:1

Dark page

  • Button labelText, 4.5:15.93:1 Passes
  • Link and body-size textText, 4.5:15.29:1 Passes
  • Large headingLarge text, 3:15.29:1 Passes
  • Icons, borders and focus ringsNon-text, 3:15.29:1 Passes

Color vision

How #A98307 looks with color blindness

Tritanopia changes it most, ΔE2000 29.5; protanopia changes it least, 6.1.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #958200 ΔE2000 6.1

    Noticeable

    Reads as soft amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #9E8C14 ΔE2000 6.4

    Noticeable

    Reads as soft amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #B8766F ΔE2000 29.5

    Distinct

    Reads as muted red

  • Achromatopsia

    No cone color vision; lightness only

    #888888 ΔE2000 25.7

    Distinct

    Reads as gray

Pairing check

Checked against its complement, #6784D6. Their lightness contrast is only 1.01:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#A98307 · #6784D653.2Stays distinct
Protanopia#958200 · #638CD953.5Stays distinct
Deuteranopia#9E8C14 · #5782D454.9Stays distinct
Tritanopia#B8766F · #3296A350.3Stays distinct
Achromatopsia#888888 · #8787870.4Easily confused

Harmony

Color harmonies for #A98307

Its complement is #6784D6, a soft blue, on the cool side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#A98307
  • Complement#6784D6

Complementary

Open in Harmony Studio
  • −30°#C1732F
  • Base#A98307
  • +30°#83932B
  • Base#A98307
  • +120°#009BAB
  • +240°#B16BB0
  • Base#A98307
  • +150°#2592CC
  • +210°#9276CB

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-ral-1005: #a98307;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-1005': '#a98307',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-ral-1005: oklch(0.629 0.127 87.8);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-1005": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.6627, 0.5137, 0.0275],
        "hex": "#a98307"
      },
      "$description": "RAL 1005 Honey yellow (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral1005 = Color(.sRGB, red: 0.663, green: 0.514, blue: 0.027, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral1005 = Color(0xFFA98307)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #A98307 in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.