#D1CA4F#D1CA4F

#D1CA4F is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.2% C 0.143 H 106.0°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#D1CA4F
RGBrgb(209, 202, 79)
HSLhsl(57, 59%, 56%)
HSVhsv(57, 62%, 82%)
CMYKcmyk(0%, 3.3%, 62.2%, 18%)
CIE-LABlab(79.82, -12.57, 60.32)
CIE-LCHlch(79.82, 61.62, 101.77°)
OKLaboklab(82.17% -0.0395 0.1373)
OKLCHoklch(82.17% 0.143 106)
XYZxyz(48.8280, 56.3625, 15.7026)
Luminance0.5636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CA4F #4F56D1
analogous
#D1894F #D1CA4F #97D14F
triadic
#D1CA4F #4FD1CA #CA4FD1
tetradic
#D1CA4F #4FD189 #4F56D1 #D14F97
square
#D1CA4F #4FD189 #4F56D1 #D14F97
split-complementary
#D1CA4F #4F97D1 #894FD1
monochromatic
#837E22 #B4AD2F #D1CA4F #DED980 #EAE7B0

Accessibility & contrast

On white

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

On black

12.27
#D1CA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CA4F
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CA4F#FFFFFF#000000##000000
##D1CA4F1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1ca4f;
/* rgb */ color: rgb(209, 202, 79);
/* oklch */ color: oklch(82.2% 0.143 106.0);
Tailwind
colors: {
  custom: {
    50: '#e2d986',
    500: '#d1ca4f',
    950: '#000000',
  },
}
SCSS
$custom: #d1ca4f;
$custom-light: #e2d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ca4f",
  "rgb": {
    "r": 209,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 56.769,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.8217,
    "c": 0.1429,
    "h": 106
  },
  "luminance": 0.56361
}

Semantic roles & 50–950 ramp

primary
#D1CA4F
secondary
#3A3E8A
accent
#4EE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1CA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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