#D7CB51#D7CB51

#D7CB51 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.9% C 0.142 H 103.7°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#D7CB51
RGBrgb(215, 203, 81)
HSLhsl(55, 63%, 58%)
HSVhsv(55, 62%, 84%)
CMYKcmyk(0%, 5.6%, 62.3%, 15.7%)
CIE-LABlab(80.60, -10.44, 60.47)
CIE-LCHlch(80.60, 61.36, 99.80°)
OKLaboklab(82.92% -0.0336 0.1378)
OKLCHoklch(82.92% 0.142 103.7)
XYZxyz(50.8674, 57.7549, 16.2513)
Luminance0.5775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB51 #515DD7
analogous
#D78851 #D7CB51 #A0D751
triadic
#D7CB51 #51D7CB #CB51D7
tetradic
#D7CB51 #51D788 #515DD7 #D751A0
square
#D7CB51 #51D788 #515DD7 #D751A0
split-complementary
#D7CB51 #51A0D7 #8851D7
monochromatic
#8D8320 #BFB22C #D7CB51 #E2DA83 #EEE9B5

Accessibility & contrast

On white

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

On black

12.55
#D7CB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CB51
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CB51#FFFFFF#000000##000000
##D7CB511.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC542
Deuteranopia (green-blind)
#E0CB58
Tritanopia (blue-blind)
#E6BEB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7cb51;
/* rgb */ color: rgb(215, 203, 81);
/* oklch */ color: oklch(82.9% 0.142 103.7);
Tailwind
colors: {
  custom: {
    50: '#e6da87',
    500: '#d7cb51',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb51;
$custom-light: #e6da87;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb51",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 54.627,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82919,
    "c": 0.14179,
    "h": 103.7
  },
  "luminance": 0.57753
}

Semantic roles & 50–950 ramp

primary
#D7CB51
secondary
#394193
accent
#51E642
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7CB51

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

Preview Lab → · Contrast checker → · Palette generator →

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