#E2C64F#E2C64F

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

Color values

HEX#E2C64F
RGBrgb(226, 198, 79)
HSLhsl(49, 72%, 60%)
HSVhsv(49, 65%, 89%)
CMYKcmyk(0%, 12.4%, 65%, 11.4%)
CIE-LABlab(80.25, -3.40, 61.22)
CIE-LCHlch(80.25, 61.32, 93.18°)
OKLaboklab(82.86% -0.0143 0.1388)
OKLCHoklch(82.86% 0.14 95.9)
XYZxyz(52.9718, 57.1241, 15.6315)
Luminance0.5712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C64F #4F6BE2
analogous
#E27C4F #E2C64F #B5E24F
triadic
#E2C64F #4FE2C6 #C64FE2
tetradic
#E2C64F #4FE27C #4F6BE2 #E24FB5
square
#E2C64F #4FE27C #4F6BE2 #E24FB5
split-complementary
#E2C64F #4FB5E2 #7C4FE2
monochromatic
#9D841A #D1B022 #E2C64F #EBD784 #F3E8B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2C64F#FFFFFF#000000##000000
##E2C64F1.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)
#D9C241
Deuteranopia (green-blind)
#E0CB55
Tritanopia (blue-blind)
#F3B8AD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e2c64f;
/* rgb */ color: rgb(226, 198, 79);
/* oklch */ color: oklch(82.9% 0.140 95.9);
Tailwind
colors: {
  custom: {
    50: '#efd786',
    500: '#e2c64f',
    950: '#000000',
  },
}
SCSS
$custom: #e2c64f;
$custom-light: #efd786;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c64f",
  "rgb": {
    "r": 226,
    "g": 198,
    "b": 79
  },
  "hsl": {
    "h": 48.571,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82863,
    "c": 0.13951,
    "h": 95.9
  },
  "luminance": 0.57121
}

Semantic roles & 50–950 ramp

primary
#E2C64F
secondary
#3549A0
accent
#5CEE39
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C64F

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

Preview Lab → · Contrast checker → · Palette generator →

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