#D9C94B#D9C94B

#D9C94B is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.6% C 0.144 H 102.0°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#D9C94B
RGBrgb(217, 201, 75)
HSLhsl(53, 65%, 57%)
HSVhsv(53, 65%, 85%)
CMYKcmyk(0%, 7.4%, 65.4%, 14.9%)
CIE-LABlab(80.20, -8.95, 62.59)
CIE-LCHlch(80.20, 63.23, 98.14°)
OKLaboklab(82.62% -0.0301 0.1413)
OKLCHoklch(82.62% 0.144 102)
XYZxyz(50.7740, 57.0351, 14.9896)
Luminance0.5703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C94B #4B5BD9
analogous
#D9824B #D9C94B #A2D94B
triadic
#D9C94B #4BD9C9 #C94BD9
tetradic
#D9C94B #4BD982 #4B5BD9 #D94BA2
square
#D9C94B #4BD982 #4B5BD9 #D94BA2
split-complementary
#D9C94B #4BA2D9 #824BD9
monochromatic
#8C801E #BFAE28 #D9C94B #E4D87E #EEE7B0

Accessibility & contrast

On white

1.69
#D9C94B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#D9C94B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C94B
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C94B#FFFFFF#000000##000000
##D9C94B1.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33B
Deuteranopia (green-blind)
#DFCA52
Tritanopia (blue-blind)
#E9BBAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d9c94b;
/* rgb */ color: rgb(217, 201, 75);
/* oklch */ color: oklch(82.6% 0.144 102.0);
Tailwind
colors: {
  custom: {
    50: '#e8d983',
    500: '#d9c94b',
    950: '#000000',
  },
}
SCSS
$custom: #d9c94b;
$custom-light: #e8d983;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c94b",
  "rgb": {
    "r": 217,
    "g": 201,
    "b": 75
  },
  "hsl": {
    "h": 53.239,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82624,
    "c": 0.14449,
    "h": 102
  },
  "luminance": 0.57033
}

Semantic roles & 50–950 ramp

primary
#D9C94B
secondary
#364192
accent
#53E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9C94B

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

Preview Lab → · Contrast checker → · Palette generator →

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