#D4E231#D4E231

#D4E231 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.4% C 0.185 H 114.3°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#D4E231
RGBrgb(212, 226, 49)
HSLhsl(65, 75%, 54%)
HSVhsv(65, 78%, 89%)
CMYKcmyk(6.2%, 0%, 78.3%, 11.4%)
CIE-LABlab(86.31, -24.59, 77.27)
CIE-LCHlch(86.31, 81.09, 107.65°)
OKLaboklab(87.36% -0.076 0.1682)
OKLCHoklch(87.36% 0.185 114.3)
XYZxyz(54.9038, 68.6126, 13.2565)
Luminance0.6861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E231 #3F31E2
analogous
#E29831 #D4E231 #7CE231
triadic
#D4E231 #31D4E2 #E231D4
tetradic
#D4E231 #31E298 #3F31E2 #E2317C
square
#D4E231 #31E298 #3F31E2 #E2317C
split-complementary
#D4E231 #317CE2 #9831E2
monochromatic
#7D8613 #AFBB1A #D4E231 #DFEA67 #EAF19C

Accessibility & contrast

On white

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

On black

14.72
#D4E231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E231
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E231#FFFFFF#000000##000000
##D4E2311.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D700
Deuteranopia (green-blind)
#F2D942
Tritanopia (blue-blind)
#E2D4C2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d4e231;
/* rgb */ color: rgb(212, 226, 49);
/* oklch */ color: oklch(87.4% 0.185 114.3);
Tailwind
colors: {
  custom: {
    50: '#e5ea79',
    500: '#d4e231',
    950: '#000000',
  },
}
SCSS
$custom: #d4e231;
$custom-light: #e5ea79;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e231",
  "rgb": {
    "r": 212,
    "g": 226,
    "b": 49
  },
  "hsl": {
    "h": 64.746,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.87359,
    "c": 0.18454,
    "h": 114.3
  },
  "luminance": 0.68612
}

Semantic roles & 50–950 ramp

primary
#D4E231
secondary
#332B8C
accent
#36F245
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#16160A
muted
#85847D

Preview Lab

Preview with #D4E231

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

Preview Lab → · Contrast checker → · Palette generator →

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