#E2C755#E2C755

#E2C755 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 83.1% C 0.136 H 96.0°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#E2C755
RGBrgb(226, 199, 85)
HSLhsl(49, 71%, 61%)
HSVhsv(49, 62%, 89%)
CMYKcmyk(0%, 11.9%, 62.4%, 11.4%)
CIE-LABlab(80.56, -3.54, 58.97)
CIE-LCHlch(80.56, 59.08, 93.44°)
OKLaboklab(83.12% -0.0141 0.1349)
OKLCHoklch(83.12% 0.136 96)
XYZxyz(53.4295, 57.6741, 16.9105)
Luminance0.5767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C755 #5570E2
analogous
#E28055 #E2C755 #B6E255
triadic
#E2C755 #55E2C7 #C755E2
tetradic
#E2C755 #55E280 #5570E2 #E255B6
square
#E2C755 #55E280 #5570E2 #E255B6
split-complementary
#E2C755 #55B6E2 #8055E2
monochromatic
#A1881B #D5B424 #E2C755 #EBD889 #F4E9BE

Accessibility & contrast

On white

1.68
#E2C755 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#E2C755 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C755
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C755#FFFFFF#000000##000000
##E2C7551.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2c755;
/* rgb */ color: rgb(226, 199, 85);
/* oklch */ color: oklch(83.1% 0.136 96.0);
Tailwind
colors: {
  custom: {
    50: '#eed789',
    500: '#e2c755',
    950: '#000000',
  },
}
SCSS
$custom: #e2c755;
$custom-light: #eed789;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c755",
  "rgb": {
    "r": 226,
    "g": 199,
    "b": 85
  },
  "hsl": {
    "h": 48.511,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83123,
    "c": 0.1356,
    "h": 96
  },
  "luminance": 0.57671
}

Semantic roles & 50–950 ramp

primary
#E2C755
secondary
#374CA4
accent
#37D313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C755

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

Preview Lab → · Contrast checker → · Palette generator →

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