#D5CA57#D5CA57

#D5CA57 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.6% C 0.136 H 103.9°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#D5CA57
RGBrgb(213, 202, 87)
HSLhsl(55, 60%, 59%)
HSVhsv(55, 59%, 84%)
CMYKcmyk(0%, 5.2%, 59.2%, 16.5%)
CIE-LABlab(80.22, -10.37, 57.40)
CIE-LCHlch(80.22, 58.33, 100.24°)
OKLaboklab(82.59% -0.0326 0.1321)
OKLCHoklch(82.59% 0.136 103.9)
XYZxyz(50.2831, 57.0771, 17.3833)
Luminance0.5707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA57 #5762D5
analogous
#D58B57 #D5CA57 #A1D557
triadic
#D5CA57 #57D5CA #CA57D5
tetradic
#D5CA57 #57D58B #5762D5 #D557A1
square
#D5CA57 #57D58B #5762D5 #D557A1
split-complementary
#D5CA57 #57A1D5 #8B57D5
monochromatic
#8E8524 #BFB330 #D5CA57 #E1D988 #EDE9B9

Accessibility & contrast

On white

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

On black

12.42
#D5CA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CA57
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CA57#FFFFFF#000000##000000
##D5CA571.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44A
Deuteranopia (green-blind)
#DECA5D
Tritanopia (blue-blind)
#E4BDB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d5ca57;
/* rgb */ color: rgb(213, 202, 87);
/* oklch */ color: oklch(82.6% 0.136 103.9);
Tailwind
colors: {
  custom: {
    50: '#e5d98b',
    500: '#d5ca57',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca57;
$custom-light: #e5d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca57",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 54.762,
    "s": 60,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82594,
    "c": 0.13608,
    "h": 103.9
  },
  "luminance": 0.57075
}

Semantic roles & 50–950 ramp

primary
#D5CA57
secondary
#3C4494
accent
#52E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5CA57

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

Preview Lab → · Contrast checker → · Palette generator →

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