#D7CB58#D7CB58

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

Color values

HEX#D7CB58
RGBrgb(215, 203, 88)
HSLhsl(54, 61%, 59%)
HSVhsv(54, 59%, 84%)
CMYKcmyk(0%, 5.6%, 59.1%, 15.7%)
CIE-LABlab(80.66, -9.97, 57.50)
CIE-LCHlch(80.66, 58.36, 99.84°)
OKLaboklab(82.99% -0.0315 0.1324)
OKLCHoklch(82.99% 0.136 103.4)
XYZxyz(51.1435, 57.8654, 17.7058)
Luminance0.5786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB58 #5864D7
analogous
#D78C58 #D7CB58 #A3D758
triadic
#D7CB58 #58D7CB #CB58D7
tetradic
#D7CB58 #58D78C #5864D7 #D758A3
square
#D7CB58 #58D78C #5864D7 #D758A3
split-complementary
#D7CB58 #58A3D7 #8C58D7
monochromatic
#928723 #C3B52F #D7CB58 #E3DA89 #EFEABB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CB58#FFFFFF#000000##000000
##D7CB581.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)
#DCC54B
Deuteranopia (green-blind)
#DFCB5E
Tritanopia (blue-blind)
#E6BEB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7cb58;
/* rgb */ color: rgb(215, 203, 88);
/* oklch */ color: oklch(83.0% 0.136 103.4);
Tailwind
colors: {
  custom: {
    50: '#e6da8b',
    500: '#d7cb58',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb58;
$custom-light: #e6da8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb58",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 88
  },
  "hsl": {
    "h": 54.331,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82988,
    "c": 0.13609,
    "h": 103.4
  },
  "luminance": 0.57864
}

Semantic roles & 50–950 ramp

primary
#D7CB58
secondary
#3C4597
accent
#53E443
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7CB58

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

Preview Lab → · Contrast checker → · Palette generator →

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