#D7E45C#D7E45C

#D7E45C is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.3% C 0.159 H 114.3°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#D7E45C
RGBrgb(215, 228, 92)
HSLhsl(66, 72%, 63%)
HSVhsv(66, 60%, 89%)
CMYKcmyk(5.7%, 0%, 59.6%, 10.6%)
CIE-LABlab(87.34, -22.08, 63.12)
CIE-LCHlch(87.34, 66.87, 109.28°)
OKLaboklab(88.33% -0.0653 0.1449)
OKLCHoklch(88.33% 0.159 114.3)
XYZxyz(57.7008, 70.7076, 20.7315)
Luminance0.7071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E45C #695CE4
analogous
#E4AD5C #D7E45C #93E45C
triadic
#D7E45C #5CD7E4 #E45CD7
tetradic
#D7E45C #5CE4AD #695CE4 #E45C93
square
#D7E45C #5CE4AD #695CE4 #E45C93
split-complementary
#D7E45C #5C93E4 #AD5CE4
monochromatic
#9CAA1C #CADB27 #D7E45C #E4ED91 #F1F5C5

Accessibility & contrast

On white

1.39
#D7E45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.14
#D7E45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E45C
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E45C#FFFFFF#000000##000000
##D7E45C1.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA4C
Deuteranopia (green-blind)
#F3DC65
Tritanopia (blue-blind)
#E4D8C7
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d7e45c;
/* rgb */ color: rgb(215, 228, 92);
/* oklch */ color: oklch(88.3% 0.159 114.3);
Tailwind
colors: {
  custom: {
    50: '#e6ec8f',
    500: '#d7e45c',
    950: '#000000',
  },
}
SCSS
$custom: #d7e45c;
$custom-light: #e6ec8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e45c",
  "rgb": {
    "r": 215,
    "g": 228,
    "b": 92
  },
  "hsl": {
    "h": 65.735,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.88327,
    "c": 0.15891,
    "h": 114.3
  },
  "luminance": 0.70707
}

Semantic roles & 50–950 ramp

primary
#D7E45C
secondary
#4439AB
accent
#12D424
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D7E45C

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

Preview Lab → · Contrast checker → · Palette generator →

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