#D1CB4A#D1CB4A

#D1CB4A is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.3% C 0.148 H 106.7°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#D1CB4A
RGBrgb(209, 203, 74)
HSLhsl(57, 59%, 55%)
HSVhsv(57, 65%, 82%)
CMYKcmyk(0%, 2.9%, 64.6%, 18%)
CIE-LABlab(80.05, -13.38, 62.63)
CIE-LCHlch(80.05, 64.04, 102.06°)
OKLaboklab(82.34% -0.0423 0.1415)
OKLCHoklch(82.34% 0.148 106.7)
XYZxyz(48.8882, 56.7632, 14.8584)
Luminance0.5676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CB4A #4A50D1
analogous
#D1874A #D1CB4A #94D14A
triadic
#D1CB4A #4AD1CB #CB4AD1
tetradic
#D1CB4A #4AD187 #4A50D1 #D14A94
square
#D1CB4A #4AD187 #4A50D1 #D14A94
split-complementary
#D1CB4A #4A94D1 #874AD1
monochromatic
#807C21 #B1AB2D #D1CB4A #DDD97B #EAE7AC

Accessibility & contrast

On white

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

On black

12.35
#D1CB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CB4A
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CB4A#FFFFFF#000000##000000
##D1CB4A1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC439
Deuteranopia (green-blind)
#DEC952
Tritanopia (blue-blind)
#E0BEB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d1cb4a;
/* rgb */ color: rgb(209, 203, 74);
/* oklch */ color: oklch(82.3% 0.148 106.7);
Tailwind
colors: {
  custom: {
    50: '#e2da83',
    500: '#d1cb4a',
    950: '#000000',
  },
}
SCSS
$custom: #d1cb4a;
$custom-light: #e2da83;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cb4a",
  "rgb": {
    "r": 209,
    "g": 203,
    "b": 74
  },
  "hsl": {
    "h": 57.333,
    "s": 59.471,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82338,
    "c": 0.14765,
    "h": 106.7
  },
  "luminance": 0.56762
}

Semantic roles & 50–950 ramp

primary
#D1CB4A
secondary
#383B87
accent
#4CE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1CB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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