#D7D05B#D7D05B

#D7D05B is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.1% C 0.138 H 105.8°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#D7D05B
RGBrgb(215, 208, 91)
HSLhsl(57, 61%, 60%)
HSVhsv(57, 58%, 84%)
CMYKcmyk(0%, 3.3%, 57.7%, 15.7%)
CIE-LABlab(82.01, -12.29, 57.67)
CIE-LCHlch(82.01, 58.96, 102.03°)
OKLaboklab(84.07% -0.0377 0.1331)
OKLCHoklch(84.07% 0.138 105.8)
XYZxyz(52.4702, 60.3158, 18.7737)
Luminance0.6031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D05B #5B62D7
analogous
#D7925B #D7D05B #A0D75B
triadic
#D7D05B #5BD7D0 #D05BD7
tetradic
#D7D05B #5BD792 #5B62D7 #D75BA0
square
#D7D05B #5BD792 #5B62D7 #D75BA0
split-complementary
#D7D05B #5BA0D7 #925BD7
monochromatic
#948D24 #C5BC30 #D7D05B #E3DE8C #EFECBD

Accessibility & contrast

On white

1.61
#D7D05B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#D7D05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D05B
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D05B#FFFFFF#000000##000000
##D7D05B1.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94E
Deuteranopia (green-blind)
#E3CE61
Tritanopia (blue-blind)
#E5C4B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7d05b;
/* rgb */ color: rgb(215, 208, 91);
/* oklch */ color: oklch(84.1% 0.138 105.8);
Tailwind
colors: {
  custom: {
    50: '#e6de8d',
    500: '#d7d05b',
    950: '#000000',
  },
}
SCSS
$custom: #d7d05b;
$custom-light: #e6de8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d05b",
  "rgb": {
    "r": 215,
    "g": 208,
    "b": 91
  },
  "hsl": {
    "h": 56.613,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.84067,
    "c": 0.13838,
    "h": 105.8
  },
  "luminance": 0.60314
}

Semantic roles & 50–950 ramp

primary
#D7D05B
secondary
#3E4399
accent
#4DE444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D7D05B

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

Preview Lab → · Contrast checker → · Palette generator →

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