#D4E338#D4E338

#D4E338 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 87.6% C 0.182 H 114.7°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#D4E338
RGBrgb(212, 227, 56)
HSLhsl(65, 75%, 55%)
HSVhsv(65, 75%, 89%)
CMYKcmyk(6.6%, 0%, 75.3%, 11%)
CIE-LABlab(86.61, -24.80, 75.53)
CIE-LCHlch(86.61, 79.50, 108.18°)
OKLaboklab(87.61% -0.0761 0.1656)
OKLCHoklch(87.61% 0.182 114.7)
XYZxyz(55.3359, 69.2218, 14.1867)
Luminance0.6922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E338 #4738E3
analogous
#E39C38 #D4E338 #7EE338
triadic
#D4E338 #38D4E3 #E338D4
tetradic
#D4E338 #38E39C #4738E3 #E3387E
square
#D4E338 #38E39C #4738E3 #E3387E
split-complementary
#D4E338 #387EE3 #9C38E3
monochromatic
#828D14 #B4C21B #D4E338 #E0EB6E #EBF2A3

Accessibility & contrast

On white

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

On black

14.84
#D4E338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E338
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E338#FFFFFF#000000##000000
##D4E3381.001.4114.8414.84
#FFFFFF1.411.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D807
Deuteranopia (green-blind)
#F3DA47
Tritanopia (blue-blind)
#E2D6C3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d4e338;
/* rgb */ color: rgb(212, 227, 56);
/* oklch */ color: oklch(87.6% 0.182 114.7);
Tailwind
colors: {
  custom: {
    50: '#e5eb7c',
    500: '#d4e338',
    950: '#000000',
  },
}
SCSS
$custom: #d4e338;
$custom-light: #e5eb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e338",
  "rgb": {
    "r": 212,
    "g": 227,
    "b": 56
  },
  "hsl": {
    "h": 65.263,
    "s": 75.33,
    "l": 55.49
  },
  "oklch": {
    "l": 0.87611,
    "c": 0.18226,
    "h": 114.7
  },
  "luminance": 0.69221
}

Semantic roles & 50–950 ramp

primary
#D4E338
secondary
#362D92
accent
#36F246
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#16160A
muted
#85847D

Preview Lab

Preview with #D4E338

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

Preview Lab → · Contrast checker → · Palette generator →

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