#E7E250#E7E250

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

Color values

HEX#E7E250
RGBrgb(231, 226, 80)
HSLhsl(58, 76%, 61%)
HSVhsv(58, 65%, 91%)
CMYKcmyk(0%, 2.2%, 65.4%, 9.4%)
CIE-LABlab(87.95, -15.36, 68.99)
CIE-LCHlch(87.95, 70.68, 102.55°)
OKLaboklab(89.08% -0.0486 0.1552)
OKLCHoklch(89.08% 0.163 107.4)
XYZxyz(61.6015, 71.9628, 18.2331)
Luminance0.7196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E250 #5055E7
analogous
#E79650 #E7E250 #A0E750
triadic
#E7E250 #50E7E2 #E250E7
tetradic
#E7E250 #50E796 #5055E7 #E750A0
square
#E7E250 #50E796 #5055E7 #E750A0
split-complementary
#E7E250 #50A0E7 #9650E7
monochromatic
#A6A117 #DCD51E #E7E250 #EEEB86 #F6F4BC

Accessibility & contrast

On white

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

On black

15.39
#E7E250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E250
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E250#FFFFFF#000000##000000
##E7E2501.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D93C
Deuteranopia (green-blind)
#F7DF59
Tritanopia (blue-blind)
#F7D4C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e7e250;
/* rgb */ color: rgb(231, 226, 80);
/* oklch */ color: oklch(89.1% 0.163 107.4);
Tailwind
colors: {
  custom: {
    50: '#f2ea88',
    500: '#e7e250',
    950: '#000000',
  },
}
SCSS
$custom: #e7e250;
$custom-light: #f2ea88;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e250",
  "rgb": {
    "r": 231,
    "g": 226,
    "b": 80
  },
  "hsl": {
    "h": 58.013,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.89084,
    "c": 0.16261,
    "h": 107.4
  },
  "luminance": 0.71961
}

Semantic roles & 50–950 ramp

primary
#E7E250
secondary
#3337A8
accent
#14D80D
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7E250

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

Preview Lab → · Contrast checker → · Palette generator →

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