#D7D05E#D7D05E

#D7D05E is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.1% C 0.136 H 105.7°. Best body text is #000000 at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#D7D05E
RGBrgb(215, 208, 94)
HSLhsl(57, 60%, 61%)
HSVhsv(57, 56%, 84%)
CMYKcmyk(0%, 3.3%, 56.3%, 15.7%)
CIE-LABlab(82.04, -12.07, 56.36)
CIE-LCHlch(82.04, 57.63, 102.09°)
OKLaboklab(84.1% -0.0368 0.1307)
OKLCHoklch(84.1% 0.136 105.7)
XYZxyz(52.6022, 60.3686, 19.4689)
Luminance0.6037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D05E #5E65D7
analogous
#D7935E #D7D05E #A1D75E
triadic
#D7D05E #5ED7D0 #D05ED7
tetradic
#D7D05E #5ED793 #5E65D7 #D75EA1
square
#D7D05E #5ED793 #5E65D7 #D75EA1
split-complementary
#D7D05E #5EA1D7 #935ED7
monochromatic
#958F25 #C6BE31 #D7D05E #E3DE8F #EFEDC0

Accessibility & contrast

On white

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

On black

13.07
#D7D05E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D05E
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D05E#FFFFFF#000000##000000
##D7D05E1.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d05e;
/* rgb */ color: rgb(215, 208, 94);
/* oklch */ color: oklch(84.1% 0.136 105.7);
Tailwind
colors: {
  custom: {
    50: '#e6de8f',
    500: '#d7d05e',
    950: '#000000',
  },
}
SCSS
$custom: #d7d05e;
$custom-light: #e6de8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d05e",
  "rgb": {
    "r": 215,
    "g": 208,
    "b": 94
  },
  "hsl": {
    "h": 56.529,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84099,
    "c": 0.13577,
    "h": 105.7
  },
  "luminance": 0.60367
}

Semantic roles & 50–950 ramp

primary
#D7D05E
secondary
#3F449A
accent
#27C81E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D05E

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

Preview Lab → · Contrast checker → · Palette generator →

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