#E6E252#E6E252

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

Color values

HEX#E6E252
RGBrgb(230, 226, 82)
HSLhsl(58, 75%, 61%)
HSVhsv(58, 64%, 90%)
CMYKcmyk(0%, 1.7%, 64.3%, 9.8%)
CIE-LABlab(87.89, -15.66, 68.11)
CIE-LCHlch(87.89, 69.89, 102.95°)
OKLaboklab(89.02% -0.0491 0.1537)
OKLCHoklch(89.02% 0.161 107.7)
XYZxyz(61.3546, 71.8268, 18.6130)
Luminance0.7183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6E252 #5256E6
analogous
#E69852 #E6E252 #A0E652
triadic
#E6E252 #52E6E2 #E252E6
tetradic
#E6E252 #52E698 #5256E6 #E652A0
square
#E6E252 #52E698 #5256E6 #E652A0
split-complementary
#E6E252 #52A0E6 #9852E6
monochromatic
#A6A218 #DBD620 #E6E252 #EEEB87 #F5F4BD

Accessibility & contrast

On white

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

On black

15.37
#E6E252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6E252
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6E252#FFFFFF#000000##000000
##E6E2521.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D93F
Deuteranopia (green-blind)
#F7DF5B
Tritanopia (blue-blind)
#F6D4C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e6e252;
/* rgb */ color: rgb(230, 226, 82);
/* oklch */ color: oklch(89.0% 0.161 107.7);
Tailwind
colors: {
  custom: {
    50: '#f1ea8a',
    500: '#e6e252',
    950: '#000000',
  },
}
SCSS
$custom: #e6e252;
$custom-light: #f1ea8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e6e252",
  "rgb": {
    "r": 230,
    "g": 226,
    "b": 82
  },
  "hsl": {
    "h": 58.378,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.89017,
    "c": 0.16134,
    "h": 107.7
  },
  "luminance": 0.71825
}

Semantic roles & 50–950 ramp

primary
#E6E252
secondary
#3438A8
accent
#14D70F
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E6E252

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

Preview Lab → · Contrast checker → · Palette generator →

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