#D7CB62#D7CB62

#D7CB62 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.1% C 0.127 H 102.8°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#D7CB62
RGBrgb(215, 203, 98)
HSLhsl(54, 59%, 61%)
HSVhsv(54, 54%, 84%)
CMYKcmyk(0%, 5.6%, 54.4%, 15.7%)
CIE-LABlab(80.76, -9.23, 53.07)
CIE-LCHlch(80.76, 53.87, 99.86°)
OKLaboklab(83.1% -0.0282 0.1241)
OKLCHoklch(83.1% 0.127 102.8)
XYZxyz(51.5865, 58.0426, 20.0389)
Luminance0.5804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB62 #626ED7
analogous
#D79162 #D7CB62 #A9D762
triadic
#D7CB62 #62D7CB #CB62D7
tetradic
#D7CB62 #62D791 #626ED7 #D762A9
square
#D7CB62 #62D791 #626ED7 #D762A9
split-complementary
#D7CB62 #62A9D7 #9162D7
monochromatic
#988C27 #C9B933 #D7CB62 #E3DB93 #F0EBC4

Accessibility & contrast

On white

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

On black

12.61
#D7CB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CB62
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CB62#FFFFFF#000000##000000
##D7CB621.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC558
Deuteranopia (green-blind)
#DFCB67
Tritanopia (blue-blind)
#E5BFB3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7cb62;
/* rgb */ color: rgb(215, 203, 98);
/* oklch */ color: oklch(83.1% 0.127 102.8);
Tailwind
colors: {
  custom: {
    50: '#e6da92',
    500: '#d7cb62',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb62;
$custom-light: #e6da92;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb62",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 98
  },
  "hsl": {
    "h": 53.846,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83098,
    "c": 0.12724,
    "h": 102.8
  },
  "luminance": 0.58041
}

Semantic roles & 50–950 ramp

primary
#D7CB62
secondary
#414A9D
accent
#30C71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7CB62

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

Preview Lab → · Contrast checker → · Palette generator →

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