#D7D45A#D7D45A

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

Color values

HEX#D7D45A
RGBrgb(215, 212, 90)
HSLhsl(59, 61%, 60%)
HSVhsv(59, 58%, 84%)
CMYKcmyk(0%, 1.4%, 58.1%, 15.7%)
CIE-LABlab(83.06, -14.36, 59.27)
CIE-LCHlch(83.06, 60.99, 103.62°)
OKLaboklab(84.9% -0.0437 0.1364)
OKLCHoklch(84.9% 0.143 107.8)
XYZxyz(53.4149, 62.2738, 18.8772)
Luminance0.6227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D45A #5A5DD7
analogous
#D7965A #D7D45A #9CD75A
triadic
#D7D45A #5AD7D4 #D45AD7
tetradic
#D7D45A #5AD796 #5A5DD7 #D75A9C
square
#D7D45A #5AD796 #5A5DD7 #D75A9C
split-complementary
#D7D45A #5A9CD7 #965AD7
monochromatic
#939024 #C4C130 #D7D45A #E3E18B #EFEEBD

Accessibility & contrast

On white

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

On black

13.45
#D7D45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D45A
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D45A#FFFFFF#000000##000000
##D7D45A1.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d45a;
/* rgb */ color: rgb(215, 212, 90);
/* oklch */ color: oklch(84.9% 0.143 107.8);
Tailwind
colors: {
  custom: {
    50: '#e6e18d',
    500: '#d7d45a',
    950: '#000000',
  },
}
SCSS
$custom: #d7d45a;
$custom-light: #e6e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d45a",
  "rgb": {
    "r": 215,
    "g": 212,
    "b": 90
  },
  "hsl": {
    "h": 58.56,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84899,
    "c": 0.14327,
    "h": 107.8
  },
  "luminance": 0.62272
}

Semantic roles & 50–950 ramp

primary
#D7D45A
secondary
#3D3F98
accent
#48E444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D7D45A

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

Preview Lab → · Contrast checker → · Palette generator →

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