#E2C658#E2C658

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

Color values

HEX#E2C658
RGBrgb(226, 198, 88)
HSLhsl(48, 70%, 62%)
HSVhsv(48, 61%, 89%)
CMYKcmyk(0%, 12.4%, 61.1%, 11.4%)
CIE-LABlab(80.33, -2.83, 57.39)
CIE-LCHlch(80.33, 57.46, 92.82°)
OKLaboklab(82.95% -0.0117 0.1319)
OKLCHoklch(82.95% 0.132 95.1)
XYZxyz(53.3219, 57.2641, 17.4751)
Luminance0.5726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C658 #5874E2
analogous
#E28158 #E2C658 #B9E258
triadic
#E2C658 #58E2C6 #C658E2
tetradic
#E2C658 #58E281 #5874E2 #E258B9
square
#E2C658 #58E281 #5874E2 #E258B9
split-complementary
#E2C658 #58B9E2 #8158E2
monochromatic
#A3881C #D7B325 #E2C658 #EBD88C #F4EAC0

Accessibility & contrast

On white

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

On black

12.45
#E2C658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C658
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C658#FFFFFF#000000##000000
##E2C6581.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24C
Deuteranopia (green-blind)
#E0CB5D
Tritanopia (blue-blind)
#F3B8AE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e2c658;
/* rgb */ color: rgb(226, 198, 88);
/* oklch */ color: oklch(83.0% 0.132 95.1);
Tailwind
colors: {
  custom: {
    50: '#eed78b',
    500: '#e2c658',
    950: '#000000',
  },
}
SCSS
$custom: #e2c658;
$custom-light: #eed78b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c658",
  "rgb": {
    "r": 226,
    "g": 198,
    "b": 88
  },
  "hsl": {
    "h": 47.826,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8295,
    "c": 0.13244,
    "h": 95.1
  },
  "luminance": 0.57261
}

Semantic roles & 50–950 ramp

primary
#E2C658
secondary
#384FA6
accent
#3AD213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C658

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

Preview Lab → · Contrast checker → · Palette generator →

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