#D7E245#D7E245

#D7E245 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 87.7% C 0.173 H 113.4°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#D7E245
RGBrgb(215, 226, 69)
HSLhsl(64, 73%, 58%)
HSVhsv(64, 69%, 89%)
CMYKcmyk(4.9%, 0%, 69.5%, 11.4%)
CIE-LABlab(86.64, -22.50, 71.35)
CIE-LCHlch(86.64, 74.81, 107.50°)
OKLaboklab(87.71% -0.0688 0.1589)
OKLCHoklch(87.71% 0.173 113.4)
XYZxyz(56.2965, 69.2706, 16.0340)
Luminance0.6927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E245 #5045E2
analogous
#E29F45 #D7E245 #88E245
triadic
#D7E245 #45D7E2 #E245D7
tetradic
#D7E245 #45E29F #5045E2 #E24588
square
#D7E245 #45E29F #5045E2 #E24588
split-complementary
#D7E245 #4588E2 #9F45E2
monochromatic
#8C9517 #BECA20 #D7E245 #E2EA7A #EEF3AF

Accessibility & contrast

On white

1.41
#D7E245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.85
#D7E245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E245
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E245#FFFFFF#000000##000000
##D7E2451.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D72A
Deuteranopia (green-blind)
#F2DA51
Tritanopia (blue-blind)
#E5D5C3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d7e245;
/* rgb */ color: rgb(215, 226, 69);
/* oklch */ color: oklch(87.7% 0.173 113.4);
Tailwind
colors: {
  custom: {
    50: '#e7ea82',
    500: '#d7e245',
    950: '#000000',
  },
}
SCSS
$custom: #d7e245;
$custom-light: #e7ea82;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e245",
  "rgb": {
    "r": 215,
    "g": 226,
    "b": 69
  },
  "hsl": {
    "h": 64.204,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.87708,
    "c": 0.17311,
    "h": 113.4
  },
  "luminance": 0.69269
}

Semantic roles & 50–950 ramp

primary
#D7E245
secondary
#39329A
accent
#38F045
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D7E245

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

Preview Lab → · Contrast checker → · Palette generator →

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