#E2C64E#E2C64E

#E2C64E is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.9% C 0.140 H 96.0°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#E2C64E
RGBrgb(226, 198, 78)
HSLhsl(49, 72%, 60%)
HSVhsv(49, 65%, 89%)
CMYKcmyk(0%, 12.4%, 65.5%, 11.4%)
CIE-LABlab(80.24, -3.46, 61.64)
CIE-LCHlch(80.24, 61.73, 93.21°)
OKLaboklab(82.85% -0.0146 0.1395)
OKLCHoklch(82.85% 0.14 96)
XYZxyz(52.9357, 57.1096, 15.4412)
Luminance0.5711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C64E #4E6AE2
analogous
#E27C4E #E2C64E #B4E24E
triadic
#E2C64E #4EE2C6 #C64EE2
tetradic
#E2C64E #4EE27C #4E6AE2 #E24EB4
square
#E2C64E #4EE27C #4E6AE2 #E24EB4
split-complementary
#E2C64E #4EB4E2 #7C4EE2
monochromatic
#9C831A #D1B022 #E2C64E #EBD783 #F3E8B7

Accessibility & contrast

On white

1.69
#E2C64E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#E2C64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C64E
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C64E#FFFFFF#000000##000000
##E2C64E1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23F
Deuteranopia (green-blind)
#E0CB54
Tritanopia (blue-blind)
#F3B8AD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e2c64e;
/* rgb */ color: rgb(226, 198, 78);
/* oklch */ color: oklch(82.9% 0.140 96.0);
Tailwind
colors: {
  custom: {
    50: '#efd685',
    500: '#e2c64e',
    950: '#000000',
  },
}
SCSS
$custom: #e2c64e;
$custom-light: #efd685;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c64e",
  "rgb": {
    "r": 226,
    "g": 198,
    "b": 78
  },
  "hsl": {
    "h": 48.649,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82854,
    "c": 0.14026,
    "h": 96
  },
  "luminance": 0.57107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2C64E

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

Preview Lab → · Contrast checker → · Palette generator →

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