#E2C34A#E2C34A

#E2C34A is a very light, vivid yellow. Relative luminance 0.557; OKLCH L 82.2% C 0.141 H 94.6°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#E2C34A
RGBrgb(226, 195, 74)
HSLhsl(48, 72%, 59%)
HSVhsv(48, 67%, 89%)
CMYKcmyk(0%, 13.7%, 67.3%, 11.4%)
CIE-LABlab(79.44, -2.13, 62.46)
CIE-LCHlch(79.44, 62.50, 91.96°)
OKLaboklab(82.21% -0.0113 0.1406)
OKLCHoklch(82.21% 0.141 94.6)
XYZxyz(52.1177, 55.6961, 14.4825)
Luminance0.5569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C34A #4A69E2
analogous
#E2774A #E2C34A #B5E24A
triadic
#E2C34A #4AE2C3 #C34AE2
tetradic
#E2C34A #4AE277 #4A69E2 #E24AB5
square
#E2C34A #4AE277 #4A69E2 #E24AB5
split-complementary
#E2C34A #4AB5E2 #774AE2
monochromatic
#997F19 #CEAB21 #E2C34A #EAD47F #F3E6B3

Accessibility & contrast

On white

1.73
#E2C34A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#E2C34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C34A
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C34A#FFFFFF#000000##000000
##E2C34A1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF3A
Deuteranopia (green-blind)
#DEC950
Tritanopia (blue-blind)
#F4B4AA
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e2c34a;
/* rgb */ color: rgb(226, 195, 74);
/* oklch */ color: oklch(82.2% 0.141 94.6);
Tailwind
colors: {
  custom: {
    50: '#efd482',
    500: '#e2c34a',
    950: '#000000',
  },
}
SCSS
$custom: #e2c34a;
$custom-light: #efd482;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c34a",
  "rgb": {
    "r": 226,
    "g": 195,
    "b": 74
  },
  "hsl": {
    "h": 47.763,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8221,
    "c": 0.14105,
    "h": 94.6
  },
  "luminance": 0.55693
}

Semantic roles & 50–950 ramp

primary
#E2C34A
secondary
#33499D
accent
#5EEF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C34A

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

Preview Lab → · Contrast checker → · Palette generator →

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