#E7E173#E7E173

#E7E173 is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.2% C 0.133 H 106.0°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#E7E173
RGBrgb(231, 225, 115)
HSLhsl(57, 71%, 68%)
HSVhsv(57, 50%, 91%)
CMYKcmyk(0%, 2.6%, 50.2%, 9.4%)
CIE-LABlab(88.01, -12.41, 53.96)
CIE-LCHlch(88.01, 55.37, 102.95°)
OKLaboklab(89.23% -0.0365 0.1274)
OKLCHoklch(89.23% 0.133 106)
XYZxyz(62.9764, 72.0790, 26.8116)
Luminance0.7208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E173 #7379E7
analogous
#E7A773 #E7E173 #B3E773
triadic
#E7E173 #73E7E1 #E173E7
tetradic
#E7E173 #73E7A7 #7379E7 #E773B3
square
#E7E173 #73E7A7 #7379E7 #E773B3
split-complementary
#E7E173 #73B3E7 #A773E7
monochromatic
#BFB721 #DED63F #E7E173 #F0ECA7 #F9F7DB

Accessibility & contrast

On white

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

On black

15.42
#E7E173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E173
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E173#FFFFFF#000000##000000
##E7E1731.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA69
Deuteranopia (green-blind)
#F4DF78
Tritanopia (blue-blind)
#F5D5C8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e7e173;
/* rgb */ color: rgb(231, 225, 115);
/* oklch */ color: oklch(89.2% 0.133 106.0);
Tailwind
colors: {
  custom: {
    50: '#f1ea9e',
    500: '#e7e173',
    950: '#000000',
  },
}
SCSS
$custom: #e7e173;
$custom-light: #f1ea9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e173",
  "rgb": {
    "r": 231,
    "g": 225,
    "b": 115
  },
  "hsl": {
    "h": 56.897,
    "s": 70.732,
    "l": 67.843
  },
  "oklch": {
    "l": 0.8923,
    "c": 0.13251,
    "h": 106
  },
  "luminance": 0.72077
}

Semantic roles & 50–950 ramp

primary
#E7E173
secondary
#4047BE
accent
#1DD313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E7E173

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

Preview Lab → · Contrast checker → · Palette generator →

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