#D9C14E#D9C14E

#D9C14E is a light, vivid yellow. Relative luminance 0.534; OKLCH L 81.0% C 0.136 H 97.4°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#D9C14E
RGBrgb(217, 193, 78)
HSLhsl(50, 65%, 58%)
HSVhsv(50, 64%, 85%)
CMYKcmyk(0%, 11.1%, 64.1%, 14.9%)
CIE-LABlab(78.14, -4.67, 59.15)
CIE-LCHlch(78.14, 59.34, 94.52°)
OKLaboklab(81% -0.0176 0.1345)
OKLCHoklch(81% 0.136 97.4)
XYZxyz(49.0625, 53.4440, 14.9377)
Luminance0.5344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C14E #4E66D9
analogous
#D97B4E #D9C14E #ACD94E
triadic
#D9C14E #4ED9C1 #C14ED9
tetradic
#D9C14E #4ED97B #4E66D9 #D94EAC
square
#D9C14E #4ED97B #4E66D9 #D94EAC
split-complementary
#D9C14E #4EACD9 #7B4ED9
monochromatic
#8E7B1F #C0A629 #D9C14E #E4D380 #EFE4B3

Accessibility & contrast

On white

1.80
#D9C14E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#D9C14E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C14E
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C14E#FFFFFF#000000##000000
##D9C14E1.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD40
Deuteranopia (green-blind)
#D9C554
Tritanopia (blue-blind)
#E9B3A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d9c14e;
/* rgb */ color: rgb(217, 193, 78);
/* oklch */ color: oklch(81.0% 0.136 97.4);
Tailwind
colors: {
  custom: {
    50: '#e8d385',
    500: '#d9c14e',
    950: '#000000',
  },
}
SCSS
$custom: #d9c14e;
$custom-light: #e8d385;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c14e",
  "rgb": {
    "r": 217,
    "g": 193,
    "b": 78
  },
  "hsl": {
    "h": 49.64,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80996,
    "c": 0.13563,
    "h": 97.4
  },
  "luminance": 0.53442
}

Semantic roles & 50–950 ramp

primary
#D9C14E
secondary
#384794
accent
#5DE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9C14E

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

Preview Lab → · Contrast checker → · Palette generator →

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