#D5CB40#D5CB40

#D5CB40 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.6% C 0.154 H 105.2°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#D5CB40
RGBrgb(213, 203, 64)
HSLhsl(56, 64%, 54%)
HSVhsv(56, 70%, 84%)
CMYKcmyk(0%, 4.7%, 70%, 16.5%)
CIE-LABlab(80.31, -12.24, 66.87)
CIE-LCHlch(80.31, 67.98, 100.37°)
OKLaboklab(82.6% -0.0404 0.1487)
OKLCHoklch(82.6% 0.154 105.2)
XYZxyz(49.7239, 57.2300, 13.2768)
Luminance0.5723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CB40 #404AD5
analogous
#D58140 #D5CB40 #95D540
triadic
#D5CB40 #40D5CB #CB40D5
tetradic
#D5CB40 #40D581 #404AD5 #D54095
square
#D5CB40 #40D581 #404AD5 #D54095
split-complementary
#D5CB40 #4095D5 #8140D5
monochromatic
#7F781C #B1A827 #D5CB40 #E0D972 #EBE6A4

Accessibility & contrast

On white

1.69
#D5CB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#D5CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CB40
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CB40#FFFFFF#000000##000000
##D5CB401.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC429
Deuteranopia (green-blind)
#E0CA49
Tritanopia (blue-blind)
#E5BDB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d5cb40;
/* rgb */ color: rgb(213, 203, 64);
/* oklch */ color: oklch(82.6% 0.154 105.2);
Tailwind
colors: {
  custom: {
    50: '#e6da7d',
    500: '#d5cb40',
    950: '#000000',
  },
}
SCSS
$custom: #d5cb40;
$custom-light: #e6da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cb40",
  "rgb": {
    "r": 213,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 55.973,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82605,
    "c": 0.15404,
    "h": 105.2
  },
  "luminance": 0.57228
}

Semantic roles & 50–950 ramp

primary
#D5CB40
secondary
#333986
accent
#4CE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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