#E7E374#E7E374

#E7E374 is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.7% C 0.134 H 107.0°. Best body text is #000000 at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#E7E374
RGBrgb(231, 227, 116)
HSLhsl(58, 71%, 68%)
HSVhsv(58, 50%, 91%)
CMYKcmyk(0%, 1.7%, 49.8%, 9.4%)
CIE-LABlab(88.54, -13.32, 54.13)
CIE-LCHlch(88.54, 55.74, 103.82°)
OKLaboklab(89.66% -0.039 0.1278)
OKLCHoklch(89.66% 0.134 107)
XYZxyz(63.5780, 73.1898, 27.2975)
Luminance0.7319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E374 #7478E7
analogous
#E7A974 #E7E374 #B1E774
triadic
#E7E374 #74E7E3 #E374E7
tetradic
#E7E374 #74E7A9 #7478E7 #E774B1
square
#E7E374 #74E7A9 #7478E7 #E774B1
split-complementary
#E7E374 #74B1E7 #A974E7
monochromatic
#C0BA21 #DED840 #E7E374 #F0EEA8 #F9F8DC

Accessibility & contrast

On white

1.34
#E7E374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.64
#E7E374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E374
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E374#FFFFFF#000000##000000
##E7E3741.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC6A
Deuteranopia (green-blind)
#F5E079
Tritanopia (blue-blind)
#F5D7CA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e7e374;
/* rgb */ color: rgb(231, 227, 116);
/* oklch */ color: oklch(89.7% 0.134 107.0);
Tailwind
colors: {
  custom: {
    50: '#f1eb9f',
    500: '#e7e374',
    950: '#000000',
  },
}
SCSS
$custom: #e7e374;
$custom-light: #f1eb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e374",
  "rgb": {
    "r": 231,
    "g": 227,
    "b": 116
  },
  "hsl": {
    "h": 57.913,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.89657,
    "c": 0.13365,
    "h": 107
  },
  "luminance": 0.73188
}

Semantic roles & 50–950 ramp

primary
#E7E374
secondary
#4145BF
accent
#1AD313
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E7E374

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

Preview Lab → · Contrast checker → · Palette generator →

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