#E6E251#E6E251

#E6E251 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.0% C 0.162 H 107.7°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#E6E251
RGBrgb(230, 226, 81)
HSLhsl(58, 75%, 61%)
HSVhsv(58, 65%, 90%)
CMYKcmyk(0%, 1.7%, 64.8%, 9.8%)
CIE-LABlab(87.88, -15.72, 68.50)
CIE-LCHlch(87.88, 70.28, 102.92°)
OKLaboklab(89.01% -0.0494 0.1543)
OKLCHoklch(89.01% 0.162 107.7)
XYZxyz(61.3168, 71.8117, 18.4141)
Luminance0.7181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6E251 #5155E6
analogous
#E69751 #E6E251 #9FE651
triadic
#E6E251 #51E6E2 #E251E6
tetradic
#E6E251 #51E697 #5155E6 #E6519F
square
#E6E251 #51E697 #5155E6 #E6519F
split-complementary
#E6E251 #519FE6 #9751E6
monochromatic
#A5A118 #DAD51F #E6E251 #EEEB87 #F5F4BC

Accessibility & contrast

On white

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

On black

15.36
#E6E251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6E251
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6E251#FFFFFF#000000##000000
##E6E2511.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D93D
Deuteranopia (green-blind)
#F7DF5A
Tritanopia (blue-blind)
#F6D4C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e6e251;
/* rgb */ color: rgb(230, 226, 81);
/* oklch */ color: oklch(89.0% 0.162 107.7);
Tailwind
colors: {
  custom: {
    50: '#f1ea89',
    500: '#e6e251',
    950: '#000000',
  },
}
SCSS
$custom: #e6e251;
$custom-light: #f1ea89;
$custom-dark: #000000;
JSON
{
  "hex": "#e6e251",
  "rgb": {
    "r": 230,
    "g": 226,
    "b": 81
  },
  "hsl": {
    "h": 58.389,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.89009,
    "c": 0.16205,
    "h": 107.7
  },
  "luminance": 0.7181
}

Semantic roles & 50–950 ramp

primary
#E6E251
secondary
#3437A7
accent
#14D70E
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E6E251

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

Preview Lab → · Contrast checker → · Palette generator →

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