#E7E970#E7E970

#E7E970 is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 90.9% C 0.144 H 109.8°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#E7E970
RGBrgb(231, 233, 112)
HSLhsl(61, 73%, 68%)
HSVhsv(61, 52%, 91%)
CMYKcmyk(0.9%, 0%, 51.9%, 8.6%)
CIE-LABlab(90.06, -16.60, 57.75)
CIE-LCHlch(90.06, 60.09, 106.04°)
OKLaboklab(90.86% -0.0487 0.1353)
OKLCHoklch(90.86% 0.144 109.8)
XYZxyz(65.0201, 76.4381, 26.6550)
Luminance0.7644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E970 #7270E9
analogous
#E9AF70 #E7E970 #AAE970
triadic
#E7E970 #70E7E9 #E970E7
tetradic
#E7E970 #70E9AF #7270E9 #E970AA
square
#E7E970 #70E9AF #7270E9 #E970AA
split-complementary
#E7E970 #70AAE9 #AF70E9
monochromatic
#BEC11E #DEE13B #E7E970 #F0F1A5 #F9F9DA

Accessibility & contrast

On white

1.29
#E7E970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.29
#E7E970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E970
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E970#FFFFFF#000000##000000
##E7E9701.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E064
Deuteranopia (green-blind)
#FAE476
Tritanopia (blue-blind)
#F5DDCE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e7e970;
/* rgb */ color: rgb(231, 233, 112);
/* oklch */ color: oklch(90.9% 0.144 109.8);
Tailwind
colors: {
  custom: {
    50: '#f1ef9c',
    500: '#e7e970',
    950: '#000000',
  },
}
SCSS
$custom: #e7e970;
$custom-light: #f1ef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e970",
  "rgb": {
    "r": 231,
    "g": 233,
    "b": 112
  },
  "hsl": {
    "h": 60.992,
    "s": 73.333,
    "l": 67.647
  },
  "oklch": {
    "l": 0.90857,
    "c": 0.14384,
    "h": 109.8
  },
  "luminance": 0.76437
}

Semantic roles & 50–950 ramp

primary
#E7E970
secondary
#403EC0
accent
#10D513
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #E7E970

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

Preview Lab → · Contrast checker → · Palette generator →

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