#E2BA2D#E2BA2D

#E2BA2D is a light, vivid yellow. Relative luminance 0.515; OKLCH L 80.2% C 0.153 H 91.7°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#E2BA2D
RGBrgb(226, 186, 45)
HSLhsl(47, 76%, 53%)
HSVhsv(47, 80%, 89%)
CMYKcmyk(0%, 17.7%, 80.1%, 11.4%)
CIE-LABlab(76.97, 1.28, 70.61)
CIE-LCHlch(76.97, 70.62, 88.96°)
OKLaboklab(80.2% -0.0046 0.1525)
OKLCHoklch(80.2% 0.153 91.7)
XYZxyz(49.3995, 51.4792, 9.8167)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2BA2D #2D55E2
analogous
#E25F2D #E2BA2D #B0E22D
triadic
#E2BA2D #2DE2BA #BA2DE2
tetradic
#E2BA2D #2DE25F #2D55E2 #E22DB0
square
#E2BA2D #2DE25F #2D55E2 #E22DB0
split-complementary
#E2BA2D #2DB0E2 #5F2DE2
monochromatic
#836A12 #B89519 #E2BA2D #E9CC63 #F1DD99

Accessibility & contrast

On white

1.86
#E2BA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#E2BA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2BA2D
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2BA2D#FFFFFF#000000##000000
##E2BA2D1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB703
Deuteranopia (green-blind)
#D9C336
Tritanopia (blue-blind)
#F5AAA0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #e2ba2d;
/* rgb */ color: rgb(226, 186, 45);
/* oklch */ color: oklch(80.2% 0.153 91.7);
Tailwind
colors: {
  custom: {
    50: '#f0ce73',
    500: '#e2ba2d',
    950: '#000000',
  },
}
SCSS
$custom: #e2ba2d;
$custom-light: #f0ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ba2d",
  "rgb": {
    "r": 226,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 46.74,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80201,
    "c": 0.15253,
    "h": 91.7
  },
  "luminance": 0.51476
}

Semantic roles & 50–950 ramp

primary
#E2BA2D
secondary
#2A3F89
accent
#5FF235
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#181309
muted
#86837D

Preview Lab

Preview with #E2BA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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