#D5CB57#D5CB57

#D5CB57 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.8% C 0.137 H 104.4°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#D5CB57
RGBrgb(213, 203, 87)
HSLhsl(55, 60%, 59%)
HSVhsv(55, 59%, 84%)
CMYKcmyk(0%, 4.7%, 59.2%, 16.5%)
CIE-LABlab(80.49, -10.87, 57.70)
CIE-LCHlch(80.49, 58.71, 100.67°)
OKLaboklab(82.8% -0.034 0.1327)
OKLCHoklch(82.8% 0.137 104.4)
XYZxyz(50.5185, 57.5479, 17.4617)
Luminance0.5755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CB57 #5761D5
analogous
#D58C57 #D5CB57 #A0D557
triadic
#D5CB57 #57D5CB #CB57D5
tetradic
#D5CB57 #57D58C #5761D5 #D557A0
square
#D5CB57 #57D58C #5761D5 #D557A0
split-complementary
#D5CB57 #57A0D5 #8C57D5
monochromatic
#8E8624 #BFB430 #D5CB57 #E1DA88 #EDE9B9

Accessibility & contrast

On white

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

On black

12.51
#D5CB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CB57
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CB57#FFFFFF#000000##000000
##D5CB571.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC54A
Deuteranopia (green-blind)
#DFCA5D
Tritanopia (blue-blind)
#E4BEB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cb57;
/* rgb */ color: rgb(213, 203, 87);
/* oklch */ color: oklch(82.8% 0.137 104.4);
Tailwind
colors: {
  custom: {
    50: '#e5da8b',
    500: '#d5cb57',
    950: '#000000',
  },
}
SCSS
$custom: #d5cb57;
$custom-light: #e5da8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cb57",
  "rgb": {
    "r": 213,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 55.238,
    "s": 60,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82803,
    "c": 0.13703,
    "h": 104.4
  },
  "luminance": 0.57546
}

Semantic roles & 50–950 ramp

primary
#D5CB57
secondary
#3C4394
accent
#51E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5CB57

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

Preview Lab → · Contrast checker → · Palette generator →

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