#D9C14F#D9C14F

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

Color values

HEX#D9C14F
RGBrgb(217, 193, 79)
HSLhsl(50, 64%, 58%)
HSVhsv(50, 64%, 85%)
CMYKcmyk(0%, 11.1%, 63.6%, 14.9%)
CIE-LABlab(78.14, -4.61, 58.73)
CIE-LCHlch(78.14, 58.91, 94.49°)
OKLaboklab(81.01% -0.0173 0.1337)
OKLCHoklch(81.01% 0.135 97.4)
XYZxyz(49.0987, 53.4585, 15.1279)
Luminance0.5346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C14F #4F67D9
analogous
#D97C4F #D9C14F #ACD94F
triadic
#D9C14F #4FD9C1 #C14FD9
tetradic
#D9C14F #4FD97C #4F67D9 #D94FAC
square
#D9C14F #4FD97C #4F67D9 #D94FAC
split-complementary
#D9C14F #4FACD9 #7C4FD9
monochromatic
#8F7B1F #C1A72A #D9C14F #E4D381 #EFE4B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9C14F#FFFFFF#000000##000000
##D9C14F1.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)
#D3BD42
Deuteranopia (green-blind)
#D9C555
Tritanopia (blue-blind)
#E9B3A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d9c14f;
/* rgb */ color: rgb(217, 193, 79);
/* oklch */ color: oklch(81.0% 0.135 97.4);
Tailwind
colors: {
  custom: {
    50: '#e8d385',
    500: '#d9c14f',
    950: '#000000',
  },
}
SCSS
$custom: #d9c14f;
$custom-light: #e8d385;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c14f",
  "rgb": {
    "r": 217,
    "g": 193,
    "b": 79
  },
  "hsl": {
    "h": 49.565,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81005,
    "c": 0.13485,
    "h": 97.4
  },
  "luminance": 0.53456
}

Semantic roles & 50–950 ramp

primary
#D9C14F
secondary
#384894
accent
#5DE740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9C14F

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

Preview Lab → · Contrast checker → · Palette generator →

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