#D2CA4B#D2CA4B

#D2CA4B is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.2% C 0.146 H 105.7°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#D2CA4B
RGBrgb(210, 202, 75)
HSLhsl(56, 60%, 56%)
HSVhsv(56, 64%, 82%)
CMYKcmyk(0%, 3.8%, 64.3%, 17.6%)
CIE-LABlab(79.87, -12.40, 62.06)
CIE-LCHlch(79.87, 63.29, 101.30°)
OKLaboklab(82.22% -0.0395 0.1404)
OKLCHoklch(82.22% 0.146 105.7)
XYZxyz(48.9707, 56.4524, 14.9721)
Luminance0.5645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA4B #4B53D2
analogous
#D2864B #D2CA4B #97D24B
triadic
#D2CA4B #4BD2CA #CA4BD2
tetradic
#D2CA4B #4BD286 #4B53D2 #D24B97
square
#D2CA4B #4BD286 #4B53D2 #D24B97
split-complementary
#D2CA4B #4B97D2 #864BD2
monochromatic
#827C21 #B3AB2D #D2CA4B #DED87C #EAE7AD

Accessibility & contrast

On white

1.71
#D2CA4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#D2CA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA4B
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA4B#FFFFFF#000000##000000
##D2CA4B1.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33B
Deuteranopia (green-blind)
#DEC953
Tritanopia (blue-blind)
#E1BDB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2ca4b;
/* rgb */ color: rgb(210, 202, 75);
/* oklch */ color: oklch(82.2% 0.146 105.7);
Tailwind
colors: {
  custom: {
    50: '#e3d983',
    500: '#d2ca4b',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca4b;
$custom-light: #e3d983;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca4b",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 75
  },
  "hsl": {
    "h": 56.444,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.8222,
    "c": 0.14584,
    "h": 105.7
  },
  "luminance": 0.56451
}

Semantic roles & 50–950 ramp

primary
#D2CA4B
secondary
#383D89
accent
#4EE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2CA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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