#E2C758#E2C758

#E2C758 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 83.2% C 0.133 H 95.7°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#E2C758
RGBrgb(226, 199, 88)
HSLhsl(48, 70%, 62%)
HSVhsv(48, 61%, 89%)
CMYKcmyk(0%, 11.9%, 61.1%, 11.4%)
CIE-LABlab(80.58, -3.35, 57.68)
CIE-LCHlch(80.58, 57.78, 93.32°)
OKLaboklab(83.15% -0.0131 0.1325)
OKLCHoklch(83.15% 0.133 95.7)
XYZxyz(53.5512, 57.7227, 17.5515)
Luminance0.5772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C758 #5873E2
analogous
#E28258 #E2C758 #B8E258
triadic
#E2C758 #58E2C7 #C758E2
tetradic
#E2C758 #58E282 #5873E2 #E258B8
square
#E2C758 #58E282 #5873E2 #E258B8
split-complementary
#E2C758 #58B8E2 #8258E2
monochromatic
#A3891C #D7B525 #E2C758 #EBD88C #F4EAC0

Accessibility & contrast

On white

1.67
#E2C758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#E2C758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C758
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C758#FFFFFF#000000##000000
##E2C7581.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2c758;
/* rgb */ color: rgb(226, 199, 88);
/* oklch */ color: oklch(83.2% 0.133 95.7);
Tailwind
colors: {
  custom: {
    50: '#eed78b',
    500: '#e2c758',
    950: '#000000',
  },
}
SCSS
$custom: #e2c758;
$custom-light: #eed78b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c758",
  "rgb": {
    "r": 226,
    "g": 199,
    "b": 88
  },
  "hsl": {
    "h": 48.261,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83153,
    "c": 0.13317,
    "h": 95.7
  },
  "luminance": 0.5772
}

Semantic roles & 50–950 ramp

primary
#E2C758
secondary
#384EA6
accent
#39D213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C758

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

Preview Lab → · Contrast checker → · Palette generator →

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