#E2BA41#E2BA41

#E2BA41 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.3% C 0.142 H 90.1°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#E2BA41
RGBrgb(226, 186, 65)
HSLhsl(45, 74%, 57%)
HSVhsv(45, 71%, 89%)
CMYKcmyk(0%, 17.7%, 71.2%, 11.4%)
CIE-LABlab(77.08, 2.08, 63.69)
CIE-LCHlch(77.08, 63.72, 88.13°)
OKLaboklab(80.33% -0.0002 0.1416)
OKLCHoklch(80.33% 0.142 90.1)
XYZxyz(49.8799, 51.6713, 12.3463)
Luminance0.5167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BA41 #4169E2
analogous
#E26A41 #E2BA41 #BAE241
triadic
#E2BA41 #41E2BA #BA41E2
tetradic
#E2BA41 #41E26A #4169E2 #E241BA
square
#E2BA41 #41E26A #4169E2 #E241BA
split-complementary
#E2BA41 #41BAE2 #6A41E2
monochromatic
#927316 #C79D1E #E2BA41 #EACD76 #F2E1AB

Accessibility & contrast

On white

1.85
#E2BA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#E2BA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BA41
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BA41#FFFFFF#000000##000000
##E2BA411.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB830
Deuteranopia (green-blind)
#D8C347
Tritanopia (blue-blind)
#F4ABA2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #e2ba41;
/* rgb */ color: rgb(226, 186, 65);
/* oklch */ color: oklch(80.3% 0.142 90.1);
Tailwind
colors: {
  custom: {
    50: '#efce7d',
    500: '#e2ba41',
    950: '#000000',
  },
}
SCSS
$custom: #e2ba41;
$custom-light: #efce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ba41",
  "rgb": {
    "r": 226,
    "g": 186,
    "b": 65
  },
  "hsl": {
    "h": 45.093,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80329,
    "c": 0.14163,
    "h": 90.1
  },
  "luminance": 0.51668
}

Semantic roles & 50–950 ramp

primary
#E2BA41
secondary
#304A97
accent
#65F038
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #E2BA41

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

Preview Lab → · Contrast checker → · Palette generator →

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