#E7E174#E7E174

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

Color values

HEX#E7E174
RGBrgb(231, 225, 116)
HSLhsl(57, 71%, 68%)
HSVhsv(57, 50%, 91%)
CMYKcmyk(0%, 2.6%, 49.8%, 9.4%)
CIE-LABlab(88.02, -12.32, 53.51)
CIE-LCHlch(88.02, 54.91, 102.97°)
OKLaboklab(89.24% -0.0361 0.1265)
OKLCHoklch(89.24% 0.132 105.9)
XYZxyz(63.0342, 72.1021, 27.1163)
Luminance0.7210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E174 #747AE7
analogous
#E7A874 #E7E174 #B3E774
triadic
#E7E174 #74E7E1 #E174E7
tetradic
#E7E174 #74E7A8 #747AE7 #E774B3
square
#E7E174 #74E7A8 #747AE7 #E774B3
split-complementary
#E7E174 #74B3E7 #A874E7
monochromatic
#C0B721 #DED640 #E7E174 #F0ECA8 #F9F8DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7E174#FFFFFF#000000##000000
##E7E1741.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)
#F1DA6A
Deuteranopia (green-blind)
#F4DF79
Tritanopia (blue-blind)
#F5D5C8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e7e174;
/* rgb */ color: rgb(231, 225, 116);
/* oklch */ color: oklch(89.2% 0.132 105.9);
Tailwind
colors: {
  custom: {
    50: '#f1ea9e',
    500: '#e7e174',
    950: '#000000',
  },
}
SCSS
$custom: #e7e174;
$custom-light: #f1ea9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e174",
  "rgb": {
    "r": 231,
    "g": 225,
    "b": 116
  },
  "hsl": {
    "h": 56.87,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.89243,
    "c": 0.13155,
    "h": 105.9
  },
  "luminance": 0.721
}

Semantic roles & 50–950 ramp

primary
#E7E174
secondary
#4147BF
accent
#1DD313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E7E174

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

Preview Lab → · Contrast checker → · Palette generator →

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