#E7E253#E7E253

#E7E253 is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.1% C 0.160 H 107.3°. Best body text is #000000 at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#E7E253
RGBrgb(231, 226, 83)
HSLhsl(58, 76%, 62%)
HSVhsv(58, 64%, 91%)
CMYKcmyk(0%, 2.2%, 64.1%, 9.4%)
CIE-LABlab(87.97, -15.19, 67.84)
CIE-LCHlch(87.97, 69.52, 102.62°)
OKLaboklab(89.11% -0.0478 0.1532)
OKLCHoklch(89.11% 0.16 107.3)
XYZxyz(61.7148, 72.0081, 18.8300)
Luminance0.7201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E253 #5358E7
analogous
#E79853 #E7E253 #A2E753
triadic
#E7E253 #53E7E2 #E253E7
tetradic
#E7E253 #53E798 #5358E7 #E753A2
square
#E7E253 #53E798 #5358E7 #E753A2
split-complementary
#E7E253 #53A2E7 #9853E7
monochromatic
#A8A317 #DED71F #E7E253 #EEEB89 #F6F4BE

Accessibility & contrast

On white

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

On black

15.40
#E7E253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E253
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E253#FFFFFF#000000##000000
##E7E2531.001.3615.4015.40
#FFFFFF1.361.0021.0021.00
#00000015.4021.001.001.00
##00000015.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA40
Deuteranopia (green-blind)
#F7DF5C
Tritanopia (blue-blind)
#F7D4C5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e7e253;
/* rgb */ color: rgb(231, 226, 83);
/* oklch */ color: oklch(89.1% 0.160 107.3);
Tailwind
colors: {
  custom: {
    50: '#f2ea8a',
    500: '#e7e253',
    950: '#000000',
  },
}
SCSS
$custom: #e7e253;
$custom-light: #f2ea8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e253",
  "rgb": {
    "r": 231,
    "g": 226,
    "b": 83
  },
  "hsl": {
    "h": 57.973,
    "s": 75.51,
    "l": 61.569
  },
  "oklch": {
    "l": 0.89108,
    "c": 0.16049,
    "h": 107.3
  },
  "luminance": 0.72006
}

Semantic roles & 50–950 ramp

primary
#E7E253
secondary
#3438AA
accent
#15D80E
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7E253

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

Preview Lab → · Contrast checker → · Palette generator →

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