#D3E338#D3E338

#D3E338 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 87.5% C 0.183 H 115.0°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#D3E338
RGBrgb(211, 227, 56)
HSLhsl(66, 75%, 55%)
HSVhsv(66, 75%, 89%)
CMYKcmyk(7%, 0%, 75.3%, 11%)
CIE-LABlab(86.54, -25.21, 75.43)
CIE-LCHlch(86.54, 79.53, 108.48°)
OKLaboklab(87.53% -0.0772 0.1655)
OKLCHoklch(87.53% 0.183 115)
XYZxyz(55.0485, 69.0736, 14.1733)
Luminance0.6907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3E338 #4838E3
analogous
#E39D38 #D3E338 #7DE338
triadic
#D3E338 #38D3E3 #E338D3
tetradic
#D3E338 #38E39D #4838E3 #E3387D
square
#D3E338 #38E39D #4838E3 #E3387D
split-complementary
#D3E338 #387DE3 #9D38E3
monochromatic
#818D14 #B3C21B #D3E338 #DFEB6E #EBF2A3

Accessibility & contrast

On white

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

On black

14.81
#D3E338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3E338
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3E338#FFFFFF#000000##000000
##D3E3381.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D707
Deuteranopia (green-blind)
#F2DA47
Tritanopia (blue-blind)
#E1D6C3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d3e338;
/* rgb */ color: rgb(211, 227, 56);
/* oklch */ color: oklch(87.5% 0.183 115.0);
Tailwind
colors: {
  custom: {
    50: '#e4eb7c',
    500: '#d3e338',
    950: '#000000',
  },
}
SCSS
$custom: #d3e338;
$custom-light: #e4eb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3e338",
  "rgb": {
    "r": 211,
    "g": 227,
    "b": 56
  },
  "hsl": {
    "h": 65.614,
    "s": 75.33,
    "l": 55.49
  },
  "oklch": {
    "l": 0.87534,
    "c": 0.18256,
    "h": 115
  },
  "luminance": 0.69073
}

Semantic roles & 50–950 ramp

primary
#D3E338
secondary
#372D92
accent
#36F247
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#16160A
muted
#85847D

Preview Lab

Preview with #D3E338

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

Preview Lab → · Contrast checker → · Palette generator →

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