#D1CB4F#D1CB4F

#D1CB4F is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.4% C 0.144 H 106.5°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#D1CB4F
RGBrgb(209, 203, 79)
HSLhsl(57, 59%, 56%)
HSVhsv(57, 62%, 82%)
CMYKcmyk(0%, 2.9%, 62.2%, 18%)
CIE-LABlab(80.09, -13.07, 60.61)
CIE-LCHlch(80.09, 62.00, 102.17°)
OKLaboklab(82.38% -0.0409 0.1379)
OKLCHoklch(82.38% 0.144 106.5)
XYZxyz(49.0634, 56.8333, 15.7811)
Luminance0.5683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CB4F #4F55D1
analogous
#D18A4F #D1CB4F #96D14F
triadic
#D1CB4F #4FD1CB #CB4FD1
tetradic
#D1CB4F #4FD18A #4F55D1 #D14F96
square
#D1CB4F #4FD18A #4F55D1 #D14F96
split-complementary
#D1CB4F #4F96D1 #8A4FD1
monochromatic
#837F22 #B4AE2F #D1CB4F #DED980 #EAE8B0

Accessibility & contrast

On white

1.70
#D1CB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#D1CB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CB4F
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CB4F#FFFFFF#000000##000000
##D1CB4F1.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC440
Deuteranopia (green-blind)
#DEC956
Tritanopia (blue-blind)
#DFBEB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d1cb4f;
/* rgb */ color: rgb(209, 203, 79);
/* oklch */ color: oklch(82.4% 0.144 106.5);
Tailwind
colors: {
  custom: {
    50: '#e2da86',
    500: '#d1cb4f',
    950: '#000000',
  },
}
SCSS
$custom: #d1cb4f;
$custom-light: #e2da86;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cb4f",
  "rgb": {
    "r": 209,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 57.231,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82382,
    "c": 0.14387,
    "h": 106.5
  },
  "luminance": 0.56832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1CB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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