#D7CB52#D7CB52

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

Color values

HEX#D7CB52
RGBrgb(215, 203, 82)
HSLhsl(55, 62%, 58%)
HSVhsv(55, 62%, 84%)
CMYKcmyk(0%, 5.6%, 61.9%, 15.7%)
CIE-LABlab(80.61, -10.38, 60.05)
CIE-LCHlch(80.61, 60.94, 99.80°)
OKLaboklab(82.93% -0.0333 0.137)
OKLCHoklch(82.93% 0.141 103.7)
XYZxyz(50.9051, 57.7700, 16.4503)
Luminance0.5777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB52 #525ED7
analogous
#D78852 #D7CB52 #A1D752
triadic
#D7CB52 #52D7CB #CB52D7
tetradic
#D7CB52 #52D788 #525ED7 #D752A1
square
#D7CB52 #52D788 #525ED7 #D752A1
split-complementary
#D7CB52 #52A1D7 #8852D7
monochromatic
#8E8421 #C0B22C #D7CB52 #E2DA84 #EEE9B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CB52#FFFFFF#000000##000000
##D7CB521.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)
#DCC544
Deuteranopia (green-blind)
#E0CB59
Tritanopia (blue-blind)
#E6BEB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7cb52;
/* rgb */ color: rgb(215, 203, 82);
/* oklch */ color: oklch(82.9% 0.141 103.7);
Tailwind
colors: {
  custom: {
    50: '#e6da88',
    500: '#d7cb52',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb52;
$custom-light: #e6da88;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb52",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 54.586,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82928,
    "c": 0.14101,
    "h": 103.7
  },
  "luminance": 0.57768
}

Semantic roles & 50–950 ramp

primary
#D7CB52
secondary
#3A4293
accent
#51E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7CB52

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

Preview Lab → · Contrast checker → · Palette generator →

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