#E2C641#E2C641

#E2C641 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.7% C 0.149 H 96.9°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#E2C641
RGBrgb(226, 198, 65)
HSLhsl(50, 74%, 57%)
HSVhsv(50, 71%, 89%)
CMYKcmyk(0%, 12.4%, 71.2%, 11.4%)
CIE-LABlab(80.15, -4.14, 66.72)
CIE-LCHlch(80.15, 66.85, 93.55°)
OKLaboklab(82.75% -0.018 0.1481)
OKLCHoklch(82.75% 0.149 96.9)
XYZxyz(52.5149, 56.9413, 13.2247)
Luminance0.5694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C641 #415DE2
analogous
#E27541 #E2C641 #AEE241
triadic
#E2C641 #41E2C6 #C641E2
tetradic
#E2C641 #41E275 #415DE2 #E241AE
square
#E2C641 #41E275 #415DE2 #E241AE
split-complementary
#E2C641 #41AEE2 #7541E2
monochromatic
#927D16 #C7AA1E #E2C641 #EAD676 #F2E6AB

Accessibility & contrast

On white

1.70
#E2C641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#E2C641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C641
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C641#FFFFFF#000000##000000
##E2C6411.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2c641;
/* rgb */ color: rgb(226, 198, 65);
/* oklch */ color: oklch(82.7% 0.149 96.9);
Tailwind
colors: {
  custom: {
    50: '#efd67e',
    500: '#e2c641',
    950: '#000000',
  },
}
SCSS
$custom: #e2c641;
$custom-light: #efd67e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c641",
  "rgb": {
    "r": 226,
    "g": 198,
    "b": 65
  },
  "hsl": {
    "h": 49.565,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82748,
    "c": 0.14915,
    "h": 96.9
  },
  "luminance": 0.56939
}

Semantic roles & 50–950 ramp

primary
#E2C641
secondary
#304297
accent
#58F038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #E2C641

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

Preview Lab → · Contrast checker → · Palette generator →

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