#D1B03F#D1B03F

#D1B03F is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.6% C 0.134 H 92.4°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#D1B03F
RGBrgb(209, 176, 63)
HSLhsl(46, 61%, 53%)
HSVhsv(46, 70%, 82%)
CMYKcmyk(0%, 15.8%, 69.9%, 18%)
CIE-LABlab(72.87, -0.06, 59.71)
CIE-LCHlch(72.87, 59.71, 90.06°)
OKLaboklab(76.62% -0.0056 0.1335)
OKLCHoklch(76.62% 0.134 92.4)
XYZxyz(42.7193, 44.9673, 11.1311)
Luminance0.4496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B03F #3F60D1
analogous
#D1673F #D1B03F #A9D13F
triadic
#D1B03F #3FD1B0 #B03FD1
tetradic
#D1B03F #3FD167 #3F60D1 #D13FA9
square
#D1B03F #3FD167 #3F60D1 #D13FA9
split-complementary
#D1B03F #3FA9D1 #673FD1
monochromatic
#79641D #AA8D29 #D1B03F #DDC470 #E9D9A2

Accessibility & contrast

On white

2.10
#D1B03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#D1B03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B03F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B03F#FFFFFF#000000##000000
##D1B03F1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD2F
Deuteranopia (green-blind)
#CBB745
Tritanopia (blue-blind)
#E2A299
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d1b03f;
/* rgb */ color: rgb(209, 176, 63);
/* oklch */ color: oklch(76.6% 0.134 92.4);
Tailwind
colors: {
  custom: {
    50: '#e3c77a',
    500: '#d1b03f',
    950: '#000000',
  },
}
SCSS
$custom: #d1b03f;
$custom-light: #e3c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b03f",
  "rgb": {
    "r": 209,
    "g": 176,
    "b": 63
  },
  "hsl": {
    "h": 46.438,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76619,
    "c": 0.13359,
    "h": 92.4
  },
  "luminance": 0.44965
}

Semantic roles & 50–950 ramp

primary
#D1B03F
secondary
#97A5D5
accent
#68E443
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B03F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D1B03F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva