#D2E239#D2E239

#D2E239 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.2% C 0.181 H 115.0°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#D2E239
RGBrgb(210, 226, 57)
HSLhsl(66, 74%, 55%)
HSVhsv(66, 75%, 89%)
CMYKcmyk(7.1%, 0%, 74.8%, 11.4%)
CIE-LABlab(86.20, -25.10, 74.79)
CIE-LCHlch(86.20, 78.89, 108.55°)
OKLaboklab(87.24% -0.0767 0.1643)
OKLCHoklch(87.24% 0.181 115)
XYZxyz(54.5148, 68.3907, 14.1991)
Luminance0.6839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E239 #4939E2
analogous
#E29D39 #D2E239 #7EE239
triadic
#D2E239 #39D2E2 #E239D2
tetradic
#D2E239 #39E29D #4939E2 #E2397E
square
#D2E239 #39E29D #4939E2 #E2397E
split-complementary
#D2E239 #397EE2 #9D39E2
monochromatic
#818C15 #B2C11C #D2E239 #DEEA6E #EAF2A4

Accessibility & contrast

On white

1.43
#D2E239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.68
#D2E239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E239
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E239#FFFFFF#000000##000000
##D2E2391.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D60D
Deuteranopia (green-blind)
#F1D948
Tritanopia (blue-blind)
#E0D5C2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d2e239;
/* rgb */ color: rgb(210, 226, 57);
/* oklch */ color: oklch(87.2% 0.181 115.0);
Tailwind
colors: {
  custom: {
    50: '#e4eb7c',
    500: '#d2e239',
    950: '#000000',
  },
}
SCSS
$custom: #d2e239;
$custom-light: #e4eb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e239",
  "rgb": {
    "r": 210,
    "g": 226,
    "b": 57
  },
  "hsl": {
    "h": 65.68,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.87245,
    "c": 0.18133,
    "h": 115
  },
  "luminance": 0.6839
}

Semantic roles & 50–950 ramp

primary
#D2E239
secondary
#372E91
accent
#37F148
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#16160A
muted
#85847D

Preview Lab

Preview with #D2E239

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

Preview Lab → · Contrast checker → · Palette generator →

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