#E7C758#E7C758

#E7C758 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.6% C 0.134 H 93.2°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#E7C758
RGBrgb(231, 199, 88)
HSLhsl(47, 75%, 63%)
HSVhsv(47, 62%, 91%)
CMYKcmyk(0%, 13.9%, 61.9%, 9.4%)
CIE-LABlab(81.04, -1.26, 58.31)
CIE-LCHlch(81.04, 58.32, 91.24°)
OKLaboklab(83.62% -0.0074 0.1337)
OKLCHoklch(83.62% 0.134 93.2)
XYZxyz(55.1424, 58.5432, 17.6261)
Luminance0.5854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C758 #5878E7
analogous
#E77F58 #E7C758 #C0E758
triadic
#E7C758 #58E7C7 #C758E7
tetradic
#E7C758 #58E77F #5878E7 #E758C0
square
#E7C758 #58E77F #5878E7 #E758C0
split-complementary
#E7C758 #58C0E7 #7F58E7
monochromatic
#AC8B19 #DFB522 #E7C758 #EFD98E #F6EBC3

Accessibility & contrast

On white

1.65
#E7C758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#E7C758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C758
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C758#FFFFFF#000000##000000
##E7C7581.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44C
Deuteranopia (green-blind)
#E2CD5D
Tritanopia (blue-blind)
#F8B9AF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e7c758;
/* rgb */ color: rgb(231, 199, 88);
/* oklch */ color: oklch(83.6% 0.134 93.2);
Tailwind
colors: {
  custom: {
    50: '#f2d78b',
    500: '#e7c758',
    950: '#000000',
  },
}
SCSS
$custom: #e7c758;
$custom-light: #f2d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c758",
  "rgb": {
    "r": 231,
    "g": 199,
    "b": 88
  },
  "hsl": {
    "h": 46.573,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8362,
    "c": 0.13395,
    "h": 93.2
  },
  "luminance": 0.5854
}

Semantic roles & 50–950 ramp

primary
#E7C758
secondary
#3651AD
accent
#3BD70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7C758

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

Preview Lab → · Contrast checker → · Palette generator →

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