#E2C645#E2C645

#E2C645 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.8% C 0.147 H 96.7°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#E2C645
RGBrgb(226, 198, 69)
HSLhsl(49, 73%, 58%)
HSVhsv(49, 69%, 89%)
CMYKcmyk(0%, 12.4%, 69.5%, 11.4%)
CIE-LABlab(80.17, -3.94, 65.22)
CIE-LCHlch(80.17, 65.34, 93.46°)
OKLaboklab(82.78% -0.017 0.1456)
OKLCHoklch(82.78% 0.147 96.7)
XYZxyz(52.6349, 56.9893, 13.8567)
Luminance0.5699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C645 #4561E2
analogous
#E27745 #E2C645 #B0E245
triadic
#E2C645 #45E2C6 #C645E2
tetradic
#E2C645 #45E277 #4561E2 #E245B0
square
#E2C645 #45E277 #4561E2 #E245B0
split-complementary
#E2C645 #45B0E2 #7745E2
monochromatic
#957F17 #CAAC20 #E2C645 #EAD67A #F3E6AF

Accessibility & contrast

On white

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

On black

12.40
#E2C645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C645
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C645#FFFFFF#000000##000000
##E2C6451.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC232
Deuteranopia (green-blind)
#E1CB4C
Tritanopia (blue-blind)
#F4B7AC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e2c645;
/* rgb */ color: rgb(226, 198, 69);
/* oklch */ color: oklch(82.8% 0.147 96.7);
Tailwind
colors: {
  custom: {
    50: '#efd680',
    500: '#e2c645',
    950: '#000000',
  },
}
SCSS
$custom: #e2c645;
$custom-light: #efd680;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c645",
  "rgb": {
    "r": 226,
    "g": 198,
    "b": 69
  },
  "hsl": {
    "h": 49.299,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82778,
    "c": 0.14658,
    "h": 96.7
  },
  "luminance": 0.56987
}

Semantic roles & 50–950 ramp

primary
#E2C645
secondary
#32449A
accent
#59F038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C645

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

Preview Lab → · Contrast checker → · Palette generator →

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