#E7C457#E7C457

#E7C457 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 83.0% C 0.133 H 91.4°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#E7C457
RGBrgb(231, 196, 87)
HSLhsl(45, 75%, 62%)
HSVhsv(45, 62%, 91%)
CMYKcmyk(0%, 15.2%, 62.3%, 9.4%)
CIE-LABlab(80.27, 0.23, 57.91)
CIE-LCHlch(80.27, 57.91, 89.78°)
OKLaboklab(83.01% -0.0033 0.1327)
OKLCHoklch(83.01% 0.133 91.4)
XYZxyz(54.4178, 57.1598, 17.1816)
Luminance0.5716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C457 #577AE7
analogous
#E77C57 #E7C457 #C2E757
triadic
#E7C457 #57E7C4 #C457E7
tetradic
#E7C457 #57E77C #577AE7 #E757C2
square
#E7C457 #57E77C #577AE7 #E757C2
split-complementary
#E7C457 #57C2E7 #7C57E7
monochromatic
#AB8718 #DFB121 #E7C457 #EFD78D #F6EAC2

Accessibility & contrast

On white

1.69
#E7C457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#E7C457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C457
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C457#FFFFFF#000000##000000
##E7C4571.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C14B
Deuteranopia (green-blind)
#E0CB5C
Tritanopia (blue-blind)
#F9B6AC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e7c457;
/* rgb */ color: rgb(231, 196, 87);
/* oklch */ color: oklch(83.0% 0.133 91.4);
Tailwind
colors: {
  custom: {
    50: '#f2d58a',
    500: '#e7c457',
    950: '#000000',
  },
}
SCSS
$custom: #e7c457;
$custom-light: #f2d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c457",
  "rgb": {
    "r": 231,
    "g": 196,
    "b": 87
  },
  "hsl": {
    "h": 45.417,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.83009,
    "c": 0.13278,
    "h": 91.4
  },
  "luminance": 0.57157
}

Semantic roles & 50–950 ramp

primary
#E7C457
secondary
#3653AC
accent
#3FD70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7C457

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

Preview Lab → · Contrast checker → · Palette generator →

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