#D2CA4F#D2CA4F

#D2CA4F is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.143 H 105.6°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#D2CA4F
RGBrgb(210, 202, 79)
HSLhsl(56, 59%, 57%)
HSVhsv(56, 62%, 82%)
CMYKcmyk(0%, 3.8%, 62.4%, 17.6%)
CIE-LABlab(79.90, -12.15, 60.44)
CIE-LCHlch(79.90, 61.65, 101.37°)
OKLaboklab(82.26% -0.0384 0.1375)
OKLCHoklch(82.26% 0.143 105.6)
XYZxyz(49.1119, 56.5089, 15.7159)
Luminance0.5651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA4F #4F57D2
analogous
#D2894F #D2CA4F #99D24F
triadic
#D2CA4F #4FD2CA #CA4FD2
tetradic
#D2CA4F #4FD289 #4F57D2 #D24F99
square
#D2CA4F #4FD289 #4F57D2 #D24F99
split-complementary
#D2CA4F #4F99D2 #894FD2
monochromatic
#857F22 #B5AD2E #D2CA4F #DED980 #EBE7B0

Accessibility & contrast

On white

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

On black

12.30
#D2CA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA4F
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA4F#FFFFFF#000000##000000
##D2CA4F1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ca4f;
/* rgb */ color: rgb(210, 202, 79);
/* oklch */ color: oklch(82.3% 0.143 105.6);
Tailwind
colors: {
  custom: {
    50: '#e3d986',
    500: '#d2ca4f',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca4f;
$custom-light: #e3d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca4f",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 56.336,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82256,
    "c": 0.14279,
    "h": 105.6
  },
  "luminance": 0.56507
}

Semantic roles & 50–950 ramp

primary
#D2CA4F
secondary
#3A3F8C
accent
#4FE245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2CA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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