#E2E12D#E2E12D

#E2E12D is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.2% C 0.182 H 109.3°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#E2E12D
RGBrgb(226, 225, 45)
HSLhsl(60, 76%, 53%)
HSVhsv(60, 80%, 89%)
CMYKcmyk(0%, 0.4%, 80.1%, 11.4%)
CIE-LABlab(87.10, -18.44, 79.43)
CIE-LCHlch(87.10, 81.54, 103.07°)
OKLaboklab(88.25% -0.06 0.1715)
OKLCHoklch(88.25% 0.182 109.3)
XYZxyz(58.7652, 70.2105, 12.9386)
Luminance0.7021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E12D #2D2EE2
analogous
#E2872D #E2E12D #88E22D
triadic
#E2E12D #2DE2E1 #E12DE2
tetradic
#E2E12D #2DE287 #2D2EE2 #E22D88
square
#E2E12D #2DE287 #2D2EE2 #E22D88
split-complementary
#E2E12D #2D88E2 #872DE2
monochromatic
#838212 #B8B719 #E2E12D #E9E963 #F1F099

Accessibility & contrast

On white

1.40
#E2E12D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#E2E12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E12D
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E12D#FFFFFF#000000##000000
##E2E12D1.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D700
Deuteranopia (green-blind)
#F6DD3E
Tritanopia (blue-blind)
#F3D2C1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e2e12d;
/* rgb */ color: rgb(226, 225, 45);
/* oklch */ color: oklch(88.2% 0.182 109.3);
Tailwind
colors: {
  custom: {
    50: '#f0ea77',
    500: '#e2e12d',
    950: '#000000',
  },
}
SCSS
$custom: #e2e12d;
$custom-light: #f0ea77;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e12d",
  "rgb": {
    "r": 226,
    "g": 225,
    "b": 45
  },
  "hsl": {
    "h": 59.669,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.88248,
    "c": 0.18172,
    "h": 109.3
  },
  "luminance": 0.70209
}

Semantic roles & 50–950 ramp

primary
#E2E12D
secondary
#2A2B89
accent
#37F235
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160A
muted
#85847D

Preview Lab

Preview with #E2E12D

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

Preview Lab → · Contrast checker → · Palette generator →

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