#E2C009#E2C009

#E2C009 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.3% C 0.166 H 96.0°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#E2C009
RGBrgb(226, 192, 9)
HSLhsl(51, 92%, 46%)
HSVhsv(51, 96%, 89%)
CMYKcmyk(0%, 15%, 96%, 11.4%)
CIE-LABlab(78.40, -2.55, 78.94)
CIE-LCHlch(78.40, 78.98, 91.85°)
OKLaboklab(81.3% -0.0174 0.1651)
OKLCHoklch(81.3% 0.166 96)
XYZxyz(50.2660, 53.8908, 8.0128)
Luminance0.5389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C009 #092BE2
analogous
#E25309 #E2C009 #97E209
triadic
#E2C009 #09E2C0 #C009E2
tetradic
#E2C009 #09E253 #092BE2 #E20997
square
#E2C009 #09E253 #092BE2 #E20997
split-complementary
#E2C009 #0997E2 #5309E2
monochromatic
#6C5C04 #A78E07 #E2C009 #F7D831 #F9E36C

Accessibility & contrast

On white

1.78
#E2C009 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#E2C009 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C009
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C009#FFFFFF#000000##000000
##E2C0091.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BC00
Deuteranopia (green-blind)
#DEC622
Tritanopia (blue-blind)
#F5AFA4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e2c009;
/* rgb */ color: rgb(226, 192, 9);
/* oklch */ color: oklch(81.3% 0.166 96.0);
Tailwind
colors: {
  custom: {
    50: '#f1d269',
    500: '#e2c009',
    950: '#000000',
  },
}
SCSS
$custom: #e2c009;
$custom-light: #f1d269;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c009",
  "rgb": {
    "r": 226,
    "g": 192,
    "b": 9
  },
  "hsl": {
    "h": 50.599,
    "s": 92.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.81298,
    "c": 0.16606,
    "h": 96
  },
  "luminance": 0.53888
}

Semantic roles & 50–950 ramp

primary
#E2C009
secondary
#192876
accent
#4AFF29
background
#FFFEFB
surface
#FFFBF0
border
#D7D4CB
text
#181407
muted
#86837C

Preview Lab

Preview with #E2C009

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

Preview Lab → · Contrast checker → · Palette generator →

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