#E7E57B#E7E57B

#E7E57B is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.2% C 0.129 H 107.8°. Best body text is #000000 at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#E7E57B
RGBrgb(231, 229, 123)
HSLhsl(59, 69%, 69%)
HSVhsv(59, 47%, 91%)
CMYKcmyk(0%, 0.9%, 46.8%, 9.4%)
CIE-LABlab(89.14, -13.69, 51.56)
CIE-LCHlch(89.14, 53.34, 104.87°)
OKLaboklab(90.16% -0.0393 0.1228)
OKLCHoklch(90.16% 0.129 107.8)
XYZxyz(64.5509, 74.4592, 29.7067)
Luminance0.7446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E57B #7B7DE7
analogous
#E7AF7B #E7E57B #B3E77B
triadic
#E7E57B #7BE7E5 #E57BE7
tetradic
#E7E57B #7BE7AF #7B7DE7 #E77BB3
square
#E7E57B #7BE7AF #7B7DE7 #E77BB3
split-complementary
#E7E57B #7BB3E7 #AF7BE7
monochromatic
#C4C124 #DEDB47 #E7E57B #F0EFAF #FAF9E3

Accessibility & contrast

On white

1.32
#E7E57B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.89
#E7E57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E57B
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E57B#FFFFFF#000000##000000
##E7E57B1.001.3215.8915.89
#FFFFFF1.321.0021.0021.00
#00000015.8921.001.001.00
##00000015.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE72
Deuteranopia (green-blind)
#F6E280
Tritanopia (blue-blind)
#F4D9CC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e7e57b;
/* rgb */ color: rgb(231, 229, 123);
/* oklch */ color: oklch(90.2% 0.129 107.8);
Tailwind
colors: {
  custom: {
    50: '#f0eda3',
    500: '#e7e57b',
    950: '#000000',
  },
}
SCSS
$custom: #e7e57b;
$custom-light: #f0eda3;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e57b",
  "rgb": {
    "r": 231,
    "g": 229,
    "b": 123
  },
  "hsl": {
    "h": 58.889,
    "s": 69.231,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90161,
    "c": 0.12894,
    "h": 107.8
  },
  "luminance": 0.74458
}

Semantic roles & 50–950 ramp

primary
#E7E57B
secondary
#4749BF
accent
#18D114
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #E7E57B

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

Preview Lab → · Contrast checker → · Palette generator →

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