#D4CB23#D4CB23

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

Color values

HEX#D4CB23
RGBrgb(212, 203, 35)
HSLhsl(57, 72%, 48%)
HSVhsv(57, 83%, 83%)
CMYKcmyk(0%, 4.2%, 83.5%, 16.9%)
CIE-LABlab(80.09, -13.75, 75.46)
CIE-LCHlch(80.09, 76.71, 100.33°)
OKLaboklab(82.36% -0.047 0.1618)
OKLCHoklch(82.36% 0.169 106.2)
XYZxyz(48.8129, 56.8322, 9.9883)
Luminance0.5683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CB23 #232CD4
analogous
#D47223 #D4CB23 #84D423
triadic
#D4CB23 #23D4CB #CB23D4
tetradic
#D4CB23 #23D472 #232CD4 #D42384
square
#D4CB23 #23D472 #232CD4 #D42384
split-complementary
#D4CB23 #2384D4 #7223D4
monochromatic
#6B6612 #9F991A #D4CB23 #E2DB52 #EBE686

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CB23#FFFFFF#000000##000000
##D4CB231.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)
#DDC300
Deuteranopia (green-blind)
#E1C934
Tritanopia (blue-blind)
#E4BDAE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d4cb23;
/* rgb */ color: rgb(212, 203, 35);
/* oklch */ color: oklch(82.4% 0.169 106.2);
Tailwind
colors: {
  custom: {
    50: '#e6da70',
    500: '#d4cb23',
    950: '#000000',
  },
}
SCSS
$custom: #d4cb23;
$custom-light: #e6da70;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cb23",
  "rgb": {
    "r": 212,
    "g": 203,
    "b": 35
  },
  "hsl": {
    "h": 56.949,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.82362,
    "c": 0.16851,
    "h": 106.2
  },
  "luminance": 0.5683
}

Semantic roles & 50–950 ramp

primary
#D4CB23
secondary
#272B75
accent
#43EE39
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#171409
muted
#85837D

Preview Lab

Preview with #D4CB23

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

Preview Lab → · Contrast checker → · Palette generator →

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