#D7CB50#D7CB50

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

Color values

HEX#D7CB50
RGBrgb(215, 203, 80)
HSLhsl(55, 63%, 58%)
HSVhsv(55, 63%, 84%)
CMYKcmyk(0%, 5.6%, 62.8%, 15.7%)
CIE-LABlab(80.59, -10.50, 60.88)
CIE-LCHlch(80.59, 61.78, 99.79°)
OKLaboklab(82.91% -0.0339 0.1385)
OKLCHoklch(82.91% 0.143 103.7)
XYZxyz(50.8301, 57.7400, 16.0553)
Luminance0.5774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB50 #505CD7
analogous
#D78850 #D7CB50 #9FD750
triadic
#D7CB50 #50D7CB #CB50D7
tetradic
#D7CB50 #50D788 #505CD7 #D7509F
square
#D7CB50 #50D788 #505CD7 #D7509F
split-complementary
#D7CB50 #509FD7 #8850D7
monochromatic
#8C8320 #BEB12B #D7CB50 #E2DA82 #EEE9B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CB50#FFFFFF#000000##000000
##D7CB501.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)
#DCC541
Deuteranopia (green-blind)
#E0CB57
Tritanopia (blue-blind)
#E6BEB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7cb50;
/* rgb */ color: rgb(215, 203, 80);
/* oklch */ color: oklch(82.9% 0.143 103.7);
Tailwind
colors: {
  custom: {
    50: '#e6da86',
    500: '#d7cb50',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb50;
$custom-light: #e6da86;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb50",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 80
  },
  "hsl": {
    "h": 54.667,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8291,
    "c": 0.14257,
    "h": 103.7
  },
  "luminance": 0.57738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7CB50

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

Preview Lab → · Contrast checker → · Palette generator →

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