#D4CA45#D4CA45

#D4CA45 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.3% C 0.150 H 105.0°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#D4CA45
RGBrgb(212, 202, 69)
HSLhsl(56, 62%, 55%)
HSVhsv(56, 67%, 83%)
CMYKcmyk(0%, 4.7%, 67.5%, 16.9%)
CIE-LABlab(79.99, -11.90, 64.64)
CIE-LCHlch(79.99, 65.72, 100.43°)
OKLaboklab(82.34% -0.0388 0.1448)
OKLCHoklch(82.34% 0.15 105)
XYZxyz(49.3480, 56.6696, 13.9680)
Luminance0.5667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CA45 #454FD4
analogous
#D48245 #D4CA45 #97D445
triadic
#D4CA45 #45D4CA #CA45D4
tetradic
#D4CA45 #45D482 #454FD4 #D44597
square
#D4CA45 #45D482 #454FD4 #D44597
split-complementary
#D4CA45 #4597D4 #8245D4
monochromatic
#817A1E #B3A929 #D4CA45 #DFD877 #EBE6A8

Accessibility & contrast

On white

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

On black

12.33
#D4CA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CA45
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CA45#FFFFFF#000000##000000
##D4CA451.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC332
Deuteranopia (green-blind)
#DFC94E
Tritanopia (blue-blind)
#E3BDAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d4ca45;
/* rgb */ color: rgb(212, 202, 69);
/* oklch */ color: oklch(82.3% 0.150 105.0);
Tailwind
colors: {
  custom: {
    50: '#e5d980',
    500: '#d4ca45',
    950: '#000000',
  },
}
SCSS
$custom: #d4ca45;
$custom-light: #e5d980;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ca45",
  "rgb": {
    "r": 212,
    "g": 202,
    "b": 69
  },
  "hsl": {
    "h": 55.804,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82344,
    "c": 0.14993,
    "h": 105
  },
  "luminance": 0.56668
}

Semantic roles & 50–950 ramp

primary
#D4CA45
secondary
#353B88
accent
#4EE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4CA45

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

Preview Lab → · Contrast checker → · Palette generator →

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