#E2C855#E2C855

#E2C855 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.3% C 0.136 H 96.5°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#E2C855
RGBrgb(226, 200, 85)
HSLhsl(49, 71%, 61%)
HSVhsv(49, 62%, 89%)
CMYKcmyk(0%, 11.5%, 62.4%, 11.4%)
CIE-LABlab(80.81, -4.06, 59.25)
CIE-LCHlch(80.81, 59.39, 93.92°)
OKLaboklab(83.33% -0.0155 0.1355)
OKLCHoklch(83.33% 0.136 96.5)
XYZxyz(53.6603, 58.1357, 16.9874)
Luminance0.5813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C855 #556FE2
analogous
#E28155 #E2C855 #B5E255
triadic
#E2C855 #55E2C8 #C855E2
tetradic
#E2C855 #55E281 #556FE2 #E255B5
square
#E2C855 #55E281 #556FE2 #E255B5
split-complementary
#E2C855 #55B5E2 #8155E2
monochromatic
#A1881B #D5B524 #E2C855 #EBD989 #F4EABE

Accessibility & contrast

On white

1.66
#E2C855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#E2C855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C855
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C855#FFFFFF#000000##000000
##E2C8551.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC448
Deuteranopia (green-blind)
#E1CC5B
Tritanopia (blue-blind)
#F3BAAF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e2c855;
/* rgb */ color: rgb(226, 200, 85);
/* oklch */ color: oklch(83.3% 0.136 96.5);
Tailwind
colors: {
  custom: {
    50: '#eed889',
    500: '#e2c855',
    950: '#000000',
  },
}
SCSS
$custom: #e2c855;
$custom-light: #eed889;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c855",
  "rgb": {
    "r": 226,
    "g": 200,
    "b": 85
  },
  "hsl": {
    "h": 48.936,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83326,
    "c": 0.13636,
    "h": 96.5
  },
  "luminance": 0.58133
}

Semantic roles & 50–950 ramp

primary
#E2C855
secondary
#374BA4
accent
#36D313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C855

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

Preview Lab → · Contrast checker → · Palette generator →

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