#D7D45B#D7D45B

#D7D45B is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.9% C 0.142 H 107.8°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#D7D45B
RGBrgb(215, 212, 91)
HSLhsl(59, 61%, 60%)
HSVhsv(59, 58%, 84%)
CMYKcmyk(0%, 1.4%, 57.7%, 15.7%)
CIE-LABlab(83.07, -14.29, 58.84)
CIE-LCHlch(83.07, 60.55, 103.65°)
OKLaboklab(84.91% -0.0434 0.1356)
OKLCHoklch(84.91% 0.142 107.8)
XYZxyz(53.4577, 62.2909, 19.1029)
Luminance0.6229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D45B #5B5ED7
analogous
#D7965B #D7D45B #9CD75B
triadic
#D7D45B #5BD7D4 #D45BD7
tetradic
#D7D45B #5BD796 #5B5ED7 #D75B9C
square
#D7D45B #5BD796 #5B5ED7 #D75B9C
split-complementary
#D7D45B #5B9CD7 #965BD7
monochromatic
#949124 #C5C130 #D7D45B #E3E18C #EFEEBD

Accessibility & contrast

On white

1.56
#D7D45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.46
#D7D45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D45B
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D45B#FFFFFF#000000##000000
##D7D45B1.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4E
Deuteranopia (green-blind)
#E6D162
Tritanopia (blue-blind)
#E5C8BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d45b;
/* rgb */ color: rgb(215, 212, 91);
/* oklch */ color: oklch(84.9% 0.142 107.8);
Tailwind
colors: {
  custom: {
    50: '#e6e18e',
    500: '#d7d45b',
    950: '#000000',
  },
}
SCSS
$custom: #d7d45b;
$custom-light: #e6e18e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d45b",
  "rgb": {
    "r": 215,
    "g": 212,
    "b": 91
  },
  "hsl": {
    "h": 58.548,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.84909,
    "c": 0.14243,
    "h": 107.8
  },
  "luminance": 0.62289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7D45B

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

Preview Lab → · Contrast checker → · Palette generator →

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