#E2C54D#E2C54D

#E2C54D is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.6% C 0.140 H 95.5°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#E2C54D
RGBrgb(226, 197, 77)
HSLhsl(48, 72%, 59%)
HSVhsv(48, 66%, 89%)
CMYKcmyk(0%, 12.8%, 65.9%, 11.4%)
CIE-LABlab(79.98, -3.00, 61.78)
CIE-LCHlch(79.98, 61.85, 92.78°)
OKLaboklab(82.64% -0.0134 0.1396)
OKLCHoklch(82.64% 0.14 95.5)
XYZxyz(52.6723, 56.6398, 15.1779)
Luminance0.5664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C54D #4D6AE2
analogous
#E27B4D #E2C54D #B5E24D
triadic
#E2C54D #4DE2C5 #C54DE2
tetradic
#E2C54D #4DE27B #4D6AE2 #E24DB5
square
#E2C54D #4DE27B #4D6AE2 #E24DB5
split-complementary
#E2C54D #4DB5E2 #7B4DE2
monochromatic
#9B8219 #D0AE22 #E2C54D #EBD682 #F3E7B6

Accessibility & contrast

On white

1.70
#E2C54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#E2C54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C54D
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C54D#FFFFFF#000000##000000
##E2C54D1.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13E
Deuteranopia (green-blind)
#E0CA53
Tritanopia (blue-blind)
#F3B7AC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e2c54d;
/* rgb */ color: rgb(226, 197, 77);
/* oklch */ color: oklch(82.6% 0.140 95.5);
Tailwind
colors: {
  custom: {
    50: '#efd684',
    500: '#e2c54d',
    950: '#000000',
  },
}
SCSS
$custom: #e2c54d;
$custom-light: #efd684;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c54d",
  "rgb": {
    "r": 226,
    "g": 197,
    "b": 77
  },
  "hsl": {
    "h": 48.322,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82642,
    "c": 0.14028,
    "h": 95.5
  },
  "luminance": 0.56637
}

Semantic roles & 50–950 ramp

primary
#E2C54D
secondary
#34499F
accent
#5CEF39
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C54D

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

Preview Lab → · Contrast checker → · Palette generator →

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