#E7E270#E7E270

#E7E270 is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.4% C 0.136 H 106.6°. Best body text is #000000 at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#E7E270
RGBrgb(231, 226, 112)
HSLhsl(57, 71%, 67%)
HSVhsv(57, 52%, 91%)
CMYKcmyk(0%, 2.2%, 51.5%, 9.4%)
CIE-LABlab(88.23, -13.16, 55.62)
CIE-LCHlch(88.23, 57.16, 103.31°)
OKLaboklab(89.4% -0.0389 0.1307)
OKLCHoklch(89.4% 0.136 106.6)
XYZxyz(63.0777, 72.5533, 26.0075)
Luminance0.7255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E270 #7075E7
analogous
#E7A770 #E7E270 #B1E770
triadic
#E7E270 #70E7E2 #E270E7
tetradic
#E7E270 #70E7A7 #7075E7 #E770B1
square
#E7E270 #70E7A7 #7075E7 #E770B1
split-complementary
#E7E270 #70B1E7 #A770E7
monochromatic
#BDB620 #DED73C #E7E270 #F0EDA4 #F9F7D9

Accessibility & contrast

On white

1.35
#E7E270 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.51
#E7E270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E270
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E270#FFFFFF#000000##000000
##E7E2701.001.3515.5115.51
#FFFFFF1.351.0021.0021.00
#00000015.5121.001.001.00
##00000015.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB65
Deuteranopia (green-blind)
#F5E076
Tritanopia (blue-blind)
#F5D6C8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e7e270;
/* rgb */ color: rgb(231, 226, 112);
/* oklch */ color: oklch(89.4% 0.136 106.6);
Tailwind
colors: {
  custom: {
    50: '#f1ea9c',
    500: '#e7e270',
    950: '#000000',
  },
}
SCSS
$custom: #e7e270;
$custom-light: #f1ea9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e270",
  "rgb": {
    "r": 231,
    "g": 226,
    "b": 112
  },
  "hsl": {
    "h": 57.479,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.89401,
    "c": 0.13639,
    "h": 106.6
  },
  "luminance": 0.72551
}

Semantic roles & 50–950 ramp

primary
#E7E270
secondary
#3F44BC
accent
#1AD312
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E7E270

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

Preview Lab → · Contrast checker → · Palette generator →

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