#E7C458#E7C458

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

Color values

HEX#E7C458
RGBrgb(231, 196, 88)
HSLhsl(45, 75%, 63%)
HSVhsv(45, 62%, 91%)
CMYKcmyk(0%, 15.2%, 61.9%, 9.4%)
CIE-LABlab(80.28, 0.29, 57.47)
CIE-LCHlch(80.28, 57.47, 89.71°)
OKLaboklab(83.02% -0.003 0.132)
OKLCHoklch(83.02% 0.132 91.3)
XYZxyz(54.4590, 57.1763, 17.3983)
Luminance0.5717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C458 #587BE7
analogous
#E77D58 #E7C458 #C2E758
triadic
#E7C458 #58E7C4 #C458E7
tetradic
#E7C458 #58E77D #587BE7 #E758C2
square
#E7C458 #58E77D #587BE7 #E758C2
split-complementary
#E7C458 #58C2E7 #7D58E7
monochromatic
#AC8819 #DFB122 #E7C458 #EFD78E #F6EAC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7C458#FFFFFF#000000##000000
##E7C4581.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)
#D7C14C
Deuteranopia (green-blind)
#E0CB5D
Tritanopia (blue-blind)
#F9B6AC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e7c458;
/* rgb */ color: rgb(231, 196, 88);
/* oklch */ color: oklch(83.0% 0.132 91.3);
Tailwind
colors: {
  custom: {
    50: '#f2d58b',
    500: '#e7c458',
    950: '#000000',
  },
}
SCSS
$custom: #e7c458;
$custom-light: #f2d58b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c458",
  "rgb": {
    "r": 231,
    "g": 196,
    "b": 88
  },
  "hsl": {
    "h": 45.315,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83019,
    "c": 0.13198,
    "h": 91.3
  },
  "luminance": 0.57173
}

Semantic roles & 50–950 ramp

primary
#E7C458
secondary
#3653AD
accent
#40D70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7C458

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

Preview Lab → · Contrast checker → · Palette generator →

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