#D7CB59#D7CB59

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

Color values

HEX#D7CB59
RGBrgb(215, 203, 89)
HSLhsl(54, 61%, 60%)
HSVhsv(54, 59%, 84%)
CMYKcmyk(0%, 5.6%, 58.6%, 15.7%)
CIE-LABlab(80.67, -9.90, 57.06)
CIE-LCHlch(80.67, 57.92, 99.85°)
OKLaboklab(83% -0.0312 0.1316)
OKLCHoklch(83% 0.135 103.3)
XYZxyz(51.1852, 57.8821, 17.9254)
Luminance0.5788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB59 #5965D7
analogous
#D78C59 #D7CB59 #A4D759
triadic
#D7CB59 #59D7CB #CB59D7
tetradic
#D7CB59 #59D78C #5965D7 #D759A4
square
#D7CB59 #59D78C #5965D7 #D759A4
split-complementary
#D7CB59 #59A4D7 #8C59D7
monochromatic
#928823 #C4B62F #D7CB59 #E3DA8A #EFEABC

Accessibility & contrast

On white

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

On black

12.58
#D7CB59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CB59
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CB59#FFFFFF#000000##000000
##D7CB591.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7cb59;
/* rgb */ color: rgb(215, 203, 89);
/* oklch */ color: oklch(83.0% 0.135 103.3);
Tailwind
colors: {
  custom: {
    50: '#e6da8c',
    500: '#d7cb59',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb59;
$custom-light: #e6da8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb59",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 89
  },
  "hsl": {
    "h": 54.286,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82998,
    "c": 0.13524,
    "h": 103.3
  },
  "luminance": 0.5788
}

Semantic roles & 50–950 ramp

primary
#D7CB59
secondary
#3D4598
accent
#53E444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7CB59

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

Preview Lab → · Contrast checker → · Palette generator →

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