#E2C254#E2C254

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

Color values

HEX#E2C254
RGBrgb(226, 194, 84)
HSLhsl(46, 71%, 61%)
HSVhsv(46, 63%, 89%)
CMYKcmyk(0%, 14.2%, 62.8%, 11.4%)
CIE-LABlab(79.27, -1.02, 58.01)
CIE-LCHlch(79.27, 58.01, 91.01°)
OKLaboklab(82.1% -0.0069 0.1327)
OKLCHoklch(82.1% 0.133 93)
XYZxyz(52.2585, 55.3952, 16.3255)
Luminance0.5539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C254 #5474E2
analogous
#E27B54 #E2C254 #BBE254
triadic
#E2C254 #54E2C2 #C254E2
tetradic
#E2C254 #54E27B #5474E2 #E254BB
square
#E2C254 #54E27B #5474E2 #E254BB
split-complementary
#E2C254 #54BBE2 #7B54E2
monochromatic
#A0821B #D5AD24 #E2C254 #EBD588 #F4E7BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2C254#FFFFFF#000000##000000
##E2C2541.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)
#D5BF48
Deuteranopia (green-blind)
#DDC859
Tritanopia (blue-blind)
#F3B4AA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e2c254;
/* rgb */ color: rgb(226, 194, 84);
/* oklch */ color: oklch(82.1% 0.133 93.0);
Tailwind
colors: {
  custom: {
    50: '#eed488',
    500: '#e2c254',
    950: '#000000',
  },
}
SCSS
$custom: #e2c254;
$custom-light: #eed488;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c254",
  "rgb": {
    "r": 226,
    "g": 194,
    "b": 84
  },
  "hsl": {
    "h": 46.479,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82101,
    "c": 0.13285,
    "h": 93
  },
  "luminance": 0.55392
}

Semantic roles & 50–950 ramp

primary
#E2C254
secondary
#374FA3
accent
#3ED312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C254

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

Preview Lab → · Contrast checker → · Palette generator →

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