#E2C054#E2C054

#E2C054 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.7% C 0.132 H 91.7°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#E2C054
RGBrgb(226, 192, 84)
HSLhsl(46, 71%, 61%)
HSVhsv(46, 63%, 89%)
CMYKcmyk(0%, 15%, 62.8%, 11.4%)
CIE-LABlab(78.76, 0.01, 57.45)
CIE-LCHlch(78.76, 57.45, 89.99°)
OKLaboklab(81.7% -0.004 0.1315)
OKLCHoklch(81.7% 0.132 91.7)
XYZxyz(51.8164, 54.5109, 16.1782)
Luminance0.5451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C054 #5476E2
analogous
#E27954 #E2C054 #BDE254
triadic
#E2C054 #54E2C0 #C054E2
tetradic
#E2C054 #54E279 #5476E2 #E254BD
square
#E2C054 #54E279 #5476E2 #E254BD
split-complementary
#E2C054 #54BDE2 #7954E2
monochromatic
#A0811B #D5AA24 #E2C054 #EBD388 #F4E7BD

Accessibility & contrast

On white

1.76
#E2C054 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#E2C054 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C054
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C054#FFFFFF#000000##000000
##E2C0541.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD48
Deuteranopia (green-blind)
#DCC759
Tritanopia (blue-blind)
#F3B2A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e2c054;
/* rgb */ color: rgb(226, 192, 84);
/* oklch */ color: oklch(81.7% 0.132 91.7);
Tailwind
colors: {
  custom: {
    50: '#eed288',
    500: '#e2c054',
    950: '#000000',
  },
}
SCSS
$custom: #e2c054;
$custom-light: #eed288;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c054",
  "rgb": {
    "r": 226,
    "g": 192,
    "b": 84
  },
  "hsl": {
    "h": 45.634,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81698,
    "c": 0.13154,
    "h": 91.7
  },
  "luminance": 0.54508
}

Semantic roles & 50–950 ramp

primary
#E2C054
secondary
#3751A3
accent
#41D312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C054

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

Preview Lab → · Contrast checker → · Palette generator →

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