#E2C258#E2C258

#E2C258 is a very light, vivid yellow. Relative luminance 0.555; OKLCH L 82.1% C 0.130 H 92.5°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#E2C258
RGBrgb(226, 194, 88)
HSLhsl(46, 70%, 62%)
HSVhsv(46, 61%, 89%)
CMYKcmyk(0%, 14.2%, 61.1%, 11.4%)
CIE-LABlab(79.31, -0.76, 56.26)
CIE-LCHlch(79.31, 56.26, 90.78°)
OKLaboklab(82.14% -0.0057 0.1295)
OKLCHoklch(82.14% 0.13 92.5)
XYZxyz(52.4197, 55.4596, 17.1743)
Luminance0.5546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C258 #5878E2
analogous
#E27D58 #E2C258 #BDE258
triadic
#E2C258 #58E2C2 #C258E2
tetradic
#E2C258 #58E27D #5878E2 #E258BD
square
#E2C258 #58E27D #5878E2 #E258BD
split-complementary
#E2C258 #58BDE2 #7D58E2
monochromatic
#A3841C #D7AE25 #E2C258 #EBD58C #F4E8C0

Accessibility & contrast

On white

1.74
#E2C258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#E2C258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C258
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C258#FFFFFF#000000##000000
##E2C2581.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4D
Deuteranopia (green-blind)
#DDC85D
Tritanopia (blue-blind)
#F3B4AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e2c258;
/* rgb */ color: rgb(226, 194, 88);
/* oklch */ color: oklch(82.1% 0.130 92.5);
Tailwind
colors: {
  custom: {
    50: '#eed48b',
    500: '#e2c258',
    950: '#000000',
  },
}
SCSS
$custom: #e2c258;
$custom-light: #eed48b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c258",
  "rgb": {
    "r": 226,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 46.087,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82142,
    "c": 0.12962,
    "h": 92.5
  },
  "luminance": 0.55457
}

Semantic roles & 50–950 ramp

primary
#E2C258
secondary
#3852A6
accent
#3FD213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C258

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

Preview Lab → · Contrast checker → · Palette generator →

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