#D5CB4B#D5CB4B

#D5CB4B is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.7% C 0.146 H 104.8°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#D5CB4B
RGBrgb(213, 203, 75)
HSLhsl(56, 62%, 56%)
HSVhsv(56, 65%, 84%)
CMYKcmyk(0%, 4.7%, 64.8%, 16.5%)
CIE-LABlab(80.39, -11.65, 62.68)
CIE-LCHlch(80.39, 63.75, 100.53°)
OKLaboklab(82.69% -0.0375 0.1416)
OKLCHoklch(82.69% 0.147 104.8)
XYZxyz(50.0684, 57.3678, 15.0910)
Luminance0.5737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CB4B #4B55D5
analogous
#D5864B #D5CB4B #9AD54B
triadic
#D5CB4B #4BD5CB #CB4BD5
tetradic
#D5CB4B #4BD586 #4B55D5 #D54B9A
square
#D5CB4B #4BD586 #4B55D5 #D54B9A
split-complementary
#D5CB4B #4B9AD5 #864BD5
monochromatic
#867F1F #B8AE2B #D5CB4B #E1D97D #ECE8AE

Accessibility & contrast

On white

1.68
#D5CB4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#D5CB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CB4B
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CB4B#FFFFFF#000000##000000
##D5CB4B1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43A
Deuteranopia (green-blind)
#E0CA53
Tritanopia (blue-blind)
#E4BEB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d5cb4b;
/* rgb */ color: rgb(213, 203, 75);
/* oklch */ color: oklch(82.7% 0.146 104.8);
Tailwind
colors: {
  custom: {
    50: '#e5da83',
    500: '#d5cb4b',
    950: '#000000',
  },
}
SCSS
$custom: #d5cb4b;
$custom-light: #e5da83;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cb4b",
  "rgb": {
    "r": 213,
    "g": 203,
    "b": 75
  },
  "hsl": {
    "h": 55.652,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82691,
    "c": 0.1465,
    "h": 104.8
  },
  "luminance": 0.57366
}

Semantic roles & 50–950 ramp

primary
#D5CB4B
secondary
#373E8D
accent
#4EE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5CB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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