#E3E338#E3E338

#E3E338 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 88.8% C 0.178 H 109.5°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#E3E338
RGBrgb(227, 227, 56)
HSLhsl(60, 75%, 55%)
HSVhsv(60, 75%, 89%)
CMYKcmyk(0%, 0%, 75.3%, 11%)
CIE-LABlab(87.75, -18.63, 76.99)
CIE-LCHlch(87.75, 79.21, 103.60°)
OKLaboklab(88.81% -0.0597 0.1682)
OKLCHoklch(88.81% 0.178 109.5)
XYZxyz(59.8637, 71.5564, 14.3990)
Luminance0.7156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3E338 #3838E3
analogous
#E38D38 #E3E338 #8DE338
triadic
#E3E338 #38E3E3 #E338E3
tetradic
#E3E338 #38E38D #3838E3 #E3388D
square
#E3E338 #38E38D #3838E3 #E3388D
split-complementary
#E3E338 #388DE3 #8D38E3
monochromatic
#8D8D14 #C2C21B #E3E338 #EBEB6E #F2F2A3

Accessibility & contrast

On white

1.37
#E3E338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.31
#E3E338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3E338
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3E338#FFFFFF#000000##000000
##E3E3381.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6D905
Deuteranopia (green-blind)
#F7DE47
Tritanopia (blue-blind)
#F3D4C3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e3e338;
/* rgb */ color: rgb(227, 227, 56);
/* oklch */ color: oklch(88.8% 0.178 109.5);
Tailwind
colors: {
  custom: {
    50: '#f0eb7c',
    500: '#e3e338',
    950: '#000000',
  },
}
SCSS
$custom: #e3e338;
$custom-light: #f0eb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#e3e338",
  "rgb": {
    "r": 227,
    "g": 227,
    "b": 56
  },
  "hsl": {
    "h": 60,
    "s": 75.33,
    "l": 55.49
  },
  "oklch": {
    "l": 0.88805,
    "c": 0.17848,
    "h": 109.5
  },
  "luminance": 0.71555
}

Semantic roles & 50–950 ramp

primary
#E3E338
secondary
#2D2D92
accent
#36F236
background
#FFFEFB
surface
#FFFDF2
border
#D7D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #E3E338

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

Preview Lab → · Contrast checker → · Palette generator →

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