#E5E351#E5E351

#E5E351 is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.1% C 0.163 H 108.5°. Best body text is #000000 at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#E5E351
RGBrgb(229, 227, 81)
HSLhsl(59, 74%, 61%)
HSVhsv(59, 65%, 90%)
CMYKcmyk(0%, 0.9%, 64.6%, 10.2%)
CIE-LABlab(88.06, -16.62, 68.66)
CIE-LCHlch(88.06, 70.64, 103.60°)
OKLaboklab(89.14% -0.0519 0.1547)
OKLCHoklch(89.14% 0.163 108.5)
XYZxyz(61.2695, 72.1921, 18.4900)
Luminance0.7219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E351 #5153E5
analogous
#E59951 #E5E351 #9DE551
triadic
#E5E351 #51E5E3 #E351E5
tetradic
#E5E351 #51E599 #5153E5 #E5519D
square
#E5E351 #51E599 #5153E5 #E5519D
split-complementary
#E5E351 #519DE5 #9951E5
monochromatic
#A3A118 #D8D620 #E5E351 #EDEC86 #F5F4BB

Accessibility & contrast

On white

1.36
#E5E351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.44
#E5E351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E351
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E351#FFFFFF#000000##000000
##E5E3511.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA3D
Deuteranopia (green-blind)
#F7DF5B
Tritanopia (blue-blind)
#F5D5C5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e5e351;
/* rgb */ color: rgb(229, 227, 81);
/* oklch */ color: oklch(89.1% 0.163 108.5);
Tailwind
colors: {
  custom: {
    50: '#f1eb89',
    500: '#e5e351',
    950: '#000000',
  },
}
SCSS
$custom: #e5e351;
$custom-light: #f1eb89;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e351",
  "rgb": {
    "r": 229,
    "g": 227,
    "b": 81
  },
  "hsl": {
    "h": 59.189,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.89136,
    "c": 0.16318,
    "h": 108.5
  },
  "luminance": 0.7219
}

Semantic roles & 50–950 ramp

primary
#E5E351
secondary
#3536A6
accent
#12D60F
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E5E351

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

Preview Lab → · Contrast checker → · Palette generator →

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