#D5E245#D5E245

#D5E245 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 87.6% C 0.174 H 114.1°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#D5E245
RGBrgb(213, 226, 69)
HSLhsl(65, 73%, 58%)
HSVhsv(65, 69%, 89%)
CMYKcmyk(5.8%, 0%, 69.5%, 11.4%)
CIE-LABlab(86.49, -23.31, 71.15)
CIE-LCHlch(86.49, 74.87, 108.14°)
OKLaboklab(87.55% -0.0709 0.1585)
OKLCHoklch(87.55% 0.174 114.1)
XYZxyz(55.7127, 68.9696, 16.0067)
Luminance0.6897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E245 #5245E2
analogous
#E2A045 #D5E245 #87E245
triadic
#D5E245 #45D5E2 #E245D5
tetradic
#D5E245 #45E2A0 #5245E2 #E24587
square
#D5E245 #45E2A0 #5245E2 #E24587
split-complementary
#D5E245 #4587E2 #A045E2
monochromatic
#8B9517 #BCCA20 #D5E245 #E1EA7A #EDF3AF

Accessibility & contrast

On white

1.42
#D5E245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.79
#D5E245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E245
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E245#FFFFFF#000000##000000
##D5E2451.001.4214.7914.79
#FFFFFF1.421.0021.0021.00
#00000014.7921.001.001.00
##00000014.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5e245;
/* rgb */ color: rgb(213, 226, 69);
/* oklch */ color: oklch(87.6% 0.174 114.1);
Tailwind
colors: {
  custom: {
    50: '#e5ea82',
    500: '#d5e245',
    950: '#000000',
  },
}
SCSS
$custom: #d5e245;
$custom-light: #e5ea82;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e245",
  "rgb": {
    "r": 213,
    "g": 226,
    "b": 69
  },
  "hsl": {
    "h": 64.968,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.87552,
    "c": 0.17365,
    "h": 114.1
  },
  "luminance": 0.68969
}

Semantic roles & 50–950 ramp

primary
#D5E245
secondary
#3A329A
accent
#38F047
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D5E245

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

Preview Lab → · Contrast checker → · Palette generator →

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