#D7D35B#D7D35B

#D7D35B is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.7% C 0.141 H 107.3°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#D7D35B
RGBrgb(215, 211, 91)
HSLhsl(58, 61%, 60%)
HSVhsv(58, 58%, 84%)
CMYKcmyk(0%, 1.9%, 57.7%, 15.7%)
CIE-LABlab(82.80, -13.79, 58.55)
CIE-LCHlch(82.80, 60.15, 103.26°)
OKLaboklab(84.7% -0.042 0.135)
OKLCHoklch(84.7% 0.141 107.3)
XYZxyz(53.2085, 61.7925, 19.0198)
Luminance0.6179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D35B #5B5FD7
analogous
#D7955B #D7D35B #9DD75B
triadic
#D7D35B #5BD7D3 #D35BD7
tetradic
#D7D35B #5BD795 #5B5FD7 #D75B9D
square
#D7D35B #5BD795 #5B5FD7 #D75B9D
split-complementary
#D7D35B #5B9DD7 #955BD7
monochromatic
#949024 #C5C030 #D7D35B #E3E08C #EFEDBD

Accessibility & contrast

On white

1.57
#D7D35B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#D7D35B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D35B
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D35B#FFFFFF#000000##000000
##D7D35B1.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB4E
Deuteranopia (green-blind)
#E5D062
Tritanopia (blue-blind)
#E5C7B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d7d35b;
/* rgb */ color: rgb(215, 211, 91);
/* oklch */ color: oklch(84.7% 0.141 107.3);
Tailwind
colors: {
  custom: {
    50: '#e6e08e',
    500: '#d7d35b',
    950: '#000000',
  },
}
SCSS
$custom: #d7d35b;
$custom-light: #e6e08e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d35b",
  "rgb": {
    "r": 215,
    "g": 211,
    "b": 91
  },
  "hsl": {
    "h": 58.065,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.84698,
    "c": 0.14141,
    "h": 107.3
  },
  "luminance": 0.61791
}

Semantic roles & 50–950 ramp

primary
#D7D35B
secondary
#3E4099
accent
#49E444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D35B

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

Preview Lab → · Contrast checker → · Palette generator →

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