#D7CB54#D7CB54

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

Color values

HEX#D7CB54
RGBrgb(215, 203, 84)
HSLhsl(55, 62%, 59%)
HSVhsv(55, 61%, 84%)
CMYKcmyk(0%, 5.6%, 60.9%, 15.7%)
CIE-LABlab(80.63, -10.25, 59.21)
CIE-LCHlch(80.63, 60.09, 99.82°)
OKLaboklab(82.95% -0.0327 0.1355)
OKLCHoklch(82.95% 0.139 103.6)
XYZxyz(50.9824, 57.8009, 16.8570)
Luminance0.5780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB54 #5460D7
analogous
#D78954 #D7CB54 #A1D754
triadic
#D7CB54 #54D7CB #CB54D7
tetradic
#D7CB54 #54D789 #5460D7 #D754A1
square
#D7CB54 #54D789 #5460D7 #D754A1
split-complementary
#D7CB54 #54A1D7 #8954D7
monochromatic
#8F8521 #C1B32D #D7CB54 #E3DA86 #EEE9B7

Accessibility & contrast

On white

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

On black

12.56
#D7CB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CB54
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CB54#FFFFFF#000000##000000
##D7CB541.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7cb54;
/* rgb */ color: rgb(215, 203, 84);
/* oklch */ color: oklch(82.9% 0.139 103.6);
Tailwind
colors: {
  custom: {
    50: '#e6da89',
    500: '#d7cb54',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb54;
$custom-light: #e6da89;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb54",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 84
  },
  "hsl": {
    "h": 54.504,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82948,
    "c": 0.1394,
    "h": 103.6
  },
  "luminance": 0.57799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7CB54

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

Preview Lab → · Contrast checker → · Palette generator →

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