#E2C345#E2C345

#E2C345 is a very light, vivid yellow. Relative luminance 0.556; OKLCH L 82.2% C 0.144 H 95.0°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#E2C345
RGBrgb(226, 195, 69)
HSLhsl(48, 73%, 58%)
HSVhsv(48, 69%, 89%)
CMYKcmyk(0%, 13.7%, 69.5%, 11.4%)
CIE-LABlab(79.40, -2.40, 64.44)
CIE-LCHlch(79.40, 64.48, 92.13°)
OKLaboklab(82.17% -0.0126 0.1439)
OKLCHoklch(82.17% 0.144 95)
XYZxyz(51.9559, 55.6314, 13.6304)
Luminance0.5563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C345 #4564E2
analogous
#E27545 #E2C345 #B2E245
triadic
#E2C345 #45E2C3 #C345E2
tetradic
#E2C345 #45E275 #4564E2 #E245B2
square
#E2C345 #45E275 #4564E2 #E245B2
split-complementary
#E2C345 #45B2E2 #7545E2
monochromatic
#957C17 #CAA920 #E2C345 #EAD47A #F3E5AF

Accessibility & contrast

On white

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

On black

12.13
#E2C345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C345
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C345#FFFFFF#000000##000000
##E2C3451.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF33
Deuteranopia (green-blind)
#DFC94C
Tritanopia (blue-blind)
#F4B4A9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e2c345;
/* rgb */ color: rgb(226, 195, 69);
/* oklch */ color: oklch(82.2% 0.144 95.0);
Tailwind
colors: {
  custom: {
    50: '#efd480',
    500: '#e2c345',
    950: '#000000',
  },
}
SCSS
$custom: #e2c345;
$custom-light: #efd480;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c345",
  "rgb": {
    "r": 226,
    "g": 195,
    "b": 69
  },
  "hsl": {
    "h": 48.153,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82169,
    "c": 0.14449,
    "h": 95
  },
  "luminance": 0.55629
}

Semantic roles & 50–950 ramp

primary
#E2C345
secondary
#32469A
accent
#5CF038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C345

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

Preview Lab → · Contrast checker → · Palette generator →

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