#E7C658#E7C658

#E7C658 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.4% C 0.133 H 92.6°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#E7C658
RGBrgb(231, 198, 88)
HSLhsl(46, 75%, 63%)
HSVhsv(46, 62%, 91%)
CMYKcmyk(0%, 14.3%, 61.9%, 9.4%)
CIE-LABlab(80.79, -0.74, 58.03)
CIE-LCHlch(80.79, 58.03, 90.73°)
OKLaboklab(83.42% -0.006 0.1332)
OKLCHoklch(83.42% 0.133 92.6)
XYZxyz(54.9131, 58.0846, 17.5497)
Luminance0.5808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C658 #5879E7
analogous
#E77F58 #E7C658 #C0E758
triadic
#E7C658 #58E7C6 #C658E7
tetradic
#E7C658 #58E77F #5879E7 #E758C0
square
#E7C658 #58E77F #5879E7 #E758C0
split-complementary
#E7C658 #58C0E7 #7F58E7
monochromatic
#AC8A19 #DFB422 #E7C658 #EFD88E #F6EBC3

Accessibility & contrast

On white

1.66
#E7C658 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#E7C658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C658
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C658#FFFFFF#000000##000000
##E7C6581.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34C
Deuteranopia (green-blind)
#E2CD5D
Tritanopia (blue-blind)
#F8B8AE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e7c658;
/* rgb */ color: rgb(231, 198, 88);
/* oklch */ color: oklch(83.4% 0.133 92.6);
Tailwind
colors: {
  custom: {
    50: '#f2d78b',
    500: '#e7c658',
    950: '#000000',
  },
}
SCSS
$custom: #e7c658;
$custom-light: #f2d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c658",
  "rgb": {
    "r": 231,
    "g": 198,
    "b": 88
  },
  "hsl": {
    "h": 46.154,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83419,
    "c": 0.13328,
    "h": 92.6
  },
  "luminance": 0.58082
}

Semantic roles & 50–950 ramp

primary
#E7C658
secondary
#3652AD
accent
#3DD70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7C658

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

Preview Lab → · Contrast checker → · Palette generator →

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