#D7CB57#D7CB57

#D7CB57 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 83.0% C 0.137 H 103.4°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#D7CB57
RGBrgb(215, 203, 87)
HSLhsl(54, 62%, 59%)
HSVhsv(54, 60%, 84%)
CMYKcmyk(0%, 5.6%, 59.5%, 15.7%)
CIE-LABlab(80.65, -10.04, 57.93)
CIE-LCHlch(80.65, 58.79, 99.84°)
OKLaboklab(82.98% -0.0318 0.1332)
OKLCHoklch(82.98% 0.137 103.4)
XYZxyz(51.1024, 57.8489, 17.4891)
Luminance0.5785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB57 #5763D7
analogous
#D78B57 #D7CB57 #A3D757
triadic
#D7CB57 #57D7CB #CB57D7
tetradic
#D7CB57 #57D78B #5763D7 #D757A3
square
#D7CB57 #57D78B #5763D7 #D757A3
split-complementary
#D7CB57 #57A3D7 #8B57D7
monochromatic
#918723 #C2B52E #D7CB57 #E3DA88 #EFEABA

Accessibility & contrast

On white

1.67
#D7CB57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#D7CB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CB57
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CB57#FFFFFF#000000##000000
##D7CB571.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54A
Deuteranopia (green-blind)
#E0CB5D
Tritanopia (blue-blind)
#E6BEB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7cb57;
/* rgb */ color: rgb(215, 203, 87);
/* oklch */ color: oklch(83.0% 0.137 103.4);
Tailwind
colors: {
  custom: {
    50: '#e6da8b',
    500: '#d7cb57',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb57;
$custom-light: #e6da8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb57",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 54.375,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82977,
    "c": 0.13693,
    "h": 103.4
  },
  "luminance": 0.57847
}

Semantic roles & 50–950 ramp

primary
#D7CB57
secondary
#3C4496
accent
#52E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7CB57

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

Preview Lab → · Contrast checker → · Palette generator →

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