#D7D05C#D7D05C

#D7D05C 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.07:1 contrast (WCAG AA passes).

Color values

HEX#D7D05C
RGBrgb(215, 208, 92)
HSLhsl(57, 61%, 60%)
HSVhsv(57, 57%, 84%)
CMYKcmyk(0%, 3.3%, 57.2%, 15.7%)
CIE-LABlab(82.02, -12.21, 57.23)
CIE-LCHlch(82.02, 58.52, 102.05°)
OKLaboklab(84.08% -0.0374 0.1323)
OKLCHoklch(84.08% 0.138 105.8)
XYZxyz(52.5136, 60.3332, 19.0024)
Luminance0.6033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D05C #5C63D7
analogous
#D7925C #D7D05C #A1D75C
triadic
#D7D05C #5CD7D0 #D05CD7
tetradic
#D7D05C #5CD792 #5C63D7 #D75CA1
square
#D7D05C #5CD792 #5C63D7 #D75CA1
split-complementary
#D7D05C #5CA1D7 #925CD7
monochromatic
#948E24 #C5BD30 #D7D05C #E3DE8D #EFECBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D05C#FFFFFF#000000##000000
##D7D05C1.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)
#E0C950
Deuteranopia (green-blind)
#E3CE62
Tritanopia (blue-blind)
#E5C4B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7d05c;
/* rgb */ color: rgb(215, 208, 92);
/* oklch */ color: oklch(84.1% 0.138 105.8);
Tailwind
colors: {
  custom: {
    50: '#e6de8e',
    500: '#d7d05c',
    950: '#000000',
  },
}
SCSS
$custom: #d7d05c;
$custom-light: #e6de8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d05c",
  "rgb": {
    "r": 215,
    "g": 208,
    "b": 92
  },
  "hsl": {
    "h": 56.585,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84077,
    "c": 0.13752,
    "h": 105.8
  },
  "luminance": 0.60332
}

Semantic roles & 50–950 ramp

primary
#D7D05C
secondary
#3E4399
accent
#27C81D
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D05C

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

Preview Lab → · Contrast checker → · Palette generator →

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