#E7E37F#E7E37F

#E7E37F is a very light, vivid yellow. Relative luminance 0.735; OKLCH L 89.8% C 0.123 H 106.6°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#E7E37F
RGBrgb(231, 227, 127)
HSLhsl(58, 68%, 70%)
HSVhsv(58, 45%, 91%)
CMYKcmyk(0%, 1.7%, 45%, 9.4%)
CIE-LABlab(88.67, -12.32, 49.07)
CIE-LCHlch(88.67, 50.60, 104.10°)
OKLaboklab(89.8% -0.0351 0.1176)
OKLCHoklch(89.8% 0.123 106.6)
XYZxyz(64.2562, 73.4610, 30.8691)
Luminance0.7346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E37F #7F83E7
analogous
#E7AF7F #E7E37F #B7E77F
triadic
#E7E37F #7FE7E3 #E37FE7
tetradic
#E7E37F #7FE7AF #7F83E7 #E77FB7
square
#E7E37F #7FE7AF #7F83E7 #E77FB7
split-complementary
#E7E37F #7FB7E7 #AF7FE7
monochromatic
#C6C025 #DDD84B #E7E37F #F1EEB3 #FAF9E5

Accessibility & contrast

On white

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

On black

15.69
#E7E37F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E37F
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E37F#FFFFFF#000000##000000
##E7E37F1.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC77
Deuteranopia (green-blind)
#F4E184
Tritanopia (blue-blind)
#F4D8CB
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e7e37f;
/* rgb */ color: rgb(231, 227, 127);
/* oklch */ color: oklch(89.8% 0.123 106.6);
Tailwind
colors: {
  custom: {
    50: '#f0eba6',
    500: '#e7e37f',
    950: '#000000',
  },
}
SCSS
$custom: #e7e37f;
$custom-light: #f0eba6;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e37f",
  "rgb": {
    "r": 231,
    "g": 227,
    "b": 127
  },
  "hsl": {
    "h": 57.692,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89801,
    "c": 0.12271,
    "h": 106.6
  },
  "luminance": 0.73459
}

Semantic roles & 50–950 ramp

primary
#E7E37F
secondary
#4B4FBF
accent
#1CD015
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #E7E37F

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

Preview Lab → · Contrast checker → · Palette generator →

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