#E2C756#E2C756

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

Color values

HEX#E2C756
RGBrgb(226, 199, 86)
HSLhsl(48, 71%, 61%)
HSVhsv(48, 62%, 89%)
CMYKcmyk(0%, 11.9%, 61.9%, 11.4%)
CIE-LABlab(80.57, -3.48, 58.54)
CIE-LCHlch(80.57, 58.65, 93.40°)
OKLaboklab(83.13% -0.0138 0.1341)
OKLCHoklch(83.13% 0.135 95.9)
XYZxyz(53.4695, 57.6901, 17.1212)
Luminance0.5769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C756 #5671E2
analogous
#E28156 #E2C756 #B7E256
triadic
#E2C756 #56E2C7 #C756E2
tetradic
#E2C756 #56E281 #5671E2 #E256B7
square
#E2C756 #56E281 #5671E2 #E256B7
split-complementary
#E2C756 #56B7E2 #8156E2
monochromatic
#A2881C #D6B425 #E2C756 #EBD88A #F4EABE

Accessibility & contrast

On white

1.67
#E2C756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#E2C756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C756
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C756#FFFFFF#000000##000000
##E2C7561.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2c756;
/* rgb */ color: rgb(226, 199, 86);
/* oklch */ color: oklch(83.1% 0.135 95.9);
Tailwind
colors: {
  custom: {
    50: '#eed78a',
    500: '#e2c756',
    950: '#000000',
  },
}
SCSS
$custom: #e2c756;
$custom-light: #eed78a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c756",
  "rgb": {
    "r": 226,
    "g": 199,
    "b": 86
  },
  "hsl": {
    "h": 48.429,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83133,
    "c": 0.13481,
    "h": 95.9
  },
  "luminance": 0.57687
}

Semantic roles & 50–950 ramp

primary
#E2C756
secondary
#384DA5
accent
#38D313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C756

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

Preview Lab → · Contrast checker → · Palette generator →

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