#D4CA23#D4CA23

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

Color values

HEX#D4CA23
RGBrgb(212, 202, 35)
HSLhsl(57, 72%, 48%)
HSVhsv(57, 83%, 83%)
CMYKcmyk(0%, 4.7%, 83.5%, 16.9%)
CIE-LABlab(79.82, -13.25, 75.24)
CIE-LCHlch(79.82, 76.40, 99.99°)
OKLaboklab(82.15% -0.0456 0.1614)
OKLCHoklch(82.15% 0.168 105.8)
XYZxyz(48.5775, 56.3614, 9.9098)
Luminance0.5636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CA23 #232DD4
analogous
#D47123 #D4CA23 #85D423
triadic
#D4CA23 #23D4CA #CA23D4
tetradic
#D4CA23 #23D471 #232DD4 #D42385
square
#D4CA23 #23D471 #232DD4 #D42385
split-complementary
#D4CA23 #2385D4 #7123D4
monochromatic
#6B6612 #9F981A #D4CA23 #E2DA52 #EBE586

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CA23#FFFFFF#000000##000000
##D4CA231.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)
#DCC200
Deuteranopia (green-blind)
#E0C934
Tritanopia (blue-blind)
#E4BCAD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d4ca23;
/* rgb */ color: rgb(212, 202, 35);
/* oklch */ color: oklch(82.2% 0.168 105.8);
Tailwind
colors: {
  custom: {
    50: '#e6d970',
    500: '#d4ca23',
    950: '#000000',
  },
}
SCSS
$custom: #d4ca23;
$custom-light: #e6d970;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ca23",
  "rgb": {
    "r": 212,
    "g": 202,
    "b": 35
  },
  "hsl": {
    "h": 56.61,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.8215,
    "c": 0.16766,
    "h": 105.8
  },
  "luminance": 0.56359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4CA23

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

Preview Lab → · Contrast checker → · Palette generator →

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