#D9CA4B#D9CA4B

#D9CA4B is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.8% C 0.145 H 102.5°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#D9CA4B
RGBrgb(217, 202, 75)
HSLhsl(54, 65%, 57%)
HSVhsv(54, 65%, 85%)
CMYKcmyk(0%, 6.9%, 65.4%, 14.9%)
CIE-LABlab(80.46, -9.46, 62.86)
CIE-LCHlch(80.46, 63.57, 98.56°)
OKLaboklab(82.83% -0.0316 0.1419)
OKLCHoklch(82.83% 0.145 102.5)
XYZxyz(51.0079, 57.5028, 15.0676)
Luminance0.5750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CA4B #4B5AD9
analogous
#D9834B #D9CA4B #A1D94B
triadic
#D9CA4B #4BD9CA #CA4BD9
tetradic
#D9CA4B #4BD983 #4B5AD9 #D94BA1
square
#D9CA4B #4BD983 #4B5AD9 #D94BA1
split-complementary
#D9CA4B #4BA1D9 #834BD9
monochromatic
#8C801E #BFAF28 #D9CA4B #E4D97E #EEE8B0

Accessibility & contrast

On white

1.68
#D9CA4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#D9CA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CA4B
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CA4B#FFFFFF#000000##000000
##D9CA4B1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43A
Deuteranopia (green-blind)
#E0CB52
Tritanopia (blue-blind)
#E9BCB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d9ca4b;
/* rgb */ color: rgb(217, 202, 75);
/* oklch */ color: oklch(82.8% 0.145 102.5);
Tailwind
colors: {
  custom: {
    50: '#e8d983',
    500: '#d9ca4b',
    950: '#000000',
  },
}
SCSS
$custom: #d9ca4b;
$custom-light: #e8d983;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ca4b",
  "rgb": {
    "r": 217,
    "g": 202,
    "b": 75
  },
  "hsl": {
    "h": 53.662,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82832,
    "c": 0.14535,
    "h": 102.5
  },
  "luminance": 0.57501
}

Semantic roles & 50–950 ramp

primary
#D9CA4B
secondary
#364092
accent
#51E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9CA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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