#D7D06C#D7D06C

#D7D06C is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.3% C 0.123 H 105.1°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#D7D06C
RGBrgb(215, 208, 108)
HSLhsl(56, 57%, 63%)
HSVhsv(56, 50%, 84%)
CMYKcmyk(0%, 3.3%, 49.8%, 15.7%)
CIE-LABlab(82.19, -10.93, 50.03)
CIE-LCHlch(82.19, 51.21, 102.32°)
OKLaboklab(84.26% -0.032 0.1184)
OKLCHoklch(84.26% 0.123 105.1)
XYZxyz(53.2884, 60.6431, 23.0827)
Luminance0.6064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D06C #6C73D7
analogous
#D79A6C #D7D06C #A8D76C
triadic
#D7D06C #6CD7D0 #D06CD7
tetradic
#D7D06C #6CD79A #6C73D7 #D76CA8
square
#D7D06C #6CD79A #6C73D7 #D76CA8
split-complementary
#D7D06C #6CA8D7 #9A6CD7
monochromatic
#9E962B #CAC13C #D7D06C #E4DF9C #F1EFCC

Accessibility & contrast

On white

1.60
#D7D06C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#D7D06C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D06C
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D06C#FFFFFF#000000##000000
##D7D06C1.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCA63
Deuteranopia (green-blind)
#E2CF71
Tritanopia (blue-blind)
#E4C5B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7d06c;
/* rgb */ color: rgb(215, 208, 108);
/* oklch */ color: oklch(84.3% 0.123 105.1);
Tailwind
colors: {
  custom: {
    50: '#e5de98',
    500: '#d7d06c',
    950: '#000000',
  },
}
SCSS
$custom: #d7d06c;
$custom-light: #e5de98;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d06c",
  "rgb": {
    "r": 215,
    "g": 208,
    "b": 108
  },
  "hsl": {
    "h": 56.075,
    "s": 57.219,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84264,
    "c": 0.12269,
    "h": 105.1
  },
  "luminance": 0.60642
}

Semantic roles & 50–950 ramp

primary
#D7D06C
secondary
#454BA2
accent
#2BC521
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7D06C

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

Preview Lab → · Contrast checker → · Palette generator →

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