#D7D45C#D7D45C

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

Color values

HEX#D7D45C
RGBrgb(215, 212, 92)
HSLhsl(59, 61%, 60%)
HSVhsv(59, 57%, 84%)
CMYKcmyk(0%, 1.4%, 57.2%, 15.7%)
CIE-LABlab(83.08, -14.22, 58.41)
CIE-LCHlch(83.08, 60.12, 103.68°)
OKLaboklab(84.92% -0.0431 0.1349)
OKLCHoklch(84.92% 0.142 107.7)
XYZxyz(53.5012, 62.3083, 19.3316)
Luminance0.6231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D45C #5C5FD7
analogous
#D7975C #D7D45C #9CD75C
triadic
#D7D45C #5CD7D4 #D45CD7
tetradic
#D7D45C #5CD797 #5C5FD7 #D75C9C
square
#D7D45C #5CD797 #5C5FD7 #D75C9C
split-complementary
#D7D45C #5C9CD7 #975CD7
monochromatic
#949124 #C5C230 #D7D45C #E3E18D #EFEEBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D45C#FFFFFF#000000##000000
##D7D45C1.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)
#E4CC4F
Deuteranopia (green-blind)
#E6D163
Tritanopia (blue-blind)
#E5C8BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d45c;
/* rgb */ color: rgb(215, 212, 92);
/* oklch */ color: oklch(84.9% 0.142 107.7);
Tailwind
colors: {
  custom: {
    50: '#e6e18e',
    500: '#d7d45c',
    950: '#000000',
  },
}
SCSS
$custom: #d7d45c;
$custom-light: #e6e18e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d45c",
  "rgb": {
    "r": 215,
    "g": 212,
    "b": 92
  },
  "hsl": {
    "h": 58.537,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.8492,
    "c": 0.14158,
    "h": 107.7
  },
  "luminance": 0.62307
}

Semantic roles & 50–950 ramp

primary
#D7D45C
secondary
#3E4099
accent
#21C81D
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D45C

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

Preview Lab → · Contrast checker → · Palette generator →

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