#E2C255#E2C255

#E2C255 is a very light, vivid yellow. Relative luminance 0.554; OKLCH L 82.1% C 0.132 H 92.9°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#E2C255
RGBrgb(226, 194, 85)
HSLhsl(46, 71%, 61%)
HSVhsv(46, 62%, 89%)
CMYKcmyk(0%, 14.2%, 62.4%, 11.4%)
CIE-LABlab(79.28, -0.96, 57.57)
CIE-LCHlch(79.28, 57.58, 90.96°)
OKLaboklab(82.11% -0.0066 0.1319)
OKLCHoklch(82.11% 0.132 92.9)
XYZxyz(52.2979, 55.4109, 16.5333)
Luminance0.5541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C255 #5575E2
analogous
#E27B55 #E2C255 #BBE255
triadic
#E2C255 #55E2C2 #C255E2
tetradic
#E2C255 #55E27B #5575E2 #E255BB
square
#E2C255 #55E27B #5575E2 #E255BB
split-complementary
#E2C255 #55BBE2 #7B55E2
monochromatic
#A1831B #D5AD24 #E2C255 #EBD589 #F4E8BE

Accessibility & contrast

On white

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

On black

12.08
#E2C255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C255
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C255#FFFFFF#000000##000000
##E2C2551.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF49
Deuteranopia (green-blind)
#DDC85A
Tritanopia (blue-blind)
#F3B4AA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e2c255;
/* rgb */ color: rgb(226, 194, 85);
/* oklch */ color: oklch(82.1% 0.132 92.9);
Tailwind
colors: {
  custom: {
    50: '#eed489',
    500: '#e2c255',
    950: '#000000',
  },
}
SCSS
$custom: #e2c255;
$custom-light: #eed489;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c255",
  "rgb": {
    "r": 226,
    "g": 194,
    "b": 85
  },
  "hsl": {
    "h": 46.383,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82111,
    "c": 0.13206,
    "h": 92.9
  },
  "luminance": 0.55408
}

Semantic roles & 50–950 ramp

primary
#E2C255
secondary
#3750A4
accent
#3ED313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C255

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

Preview Lab → · Contrast checker → · Palette generator →

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