#E2D831#E2D831

#E2D831 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.4% C 0.172 H 105.8°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#E2D831
RGBrgb(226, 216, 49)
HSLhsl(57, 75%, 54%)
HSVhsv(57, 78%, 89%)
CMYKcmyk(0%, 4.4%, 78.3%, 11.4%)
CIE-LABlab(84.74, -13.88, 76.30)
CIE-LCHlch(84.74, 77.55, 100.31°)
OKLaboklab(86.37% -0.047 0.1655)
OKLCHoklch(86.37% 0.172 105.8)
XYZxyz(56.4767, 65.5044, 12.5738)
Luminance0.6550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D831 #313BE2
analogous
#E28031 #E2D831 #94E231
triadic
#E2D831 #31E2D8 #D831E2
tetradic
#E2D831 #31E280 #313BE2 #E23194
square
#E2D831 #31E280 #313BE2 #E23194
split-complementary
#E2D831 #3194E2 #8031E2
monochromatic
#867F13 #BBB21A #E2D831 #EAE267 #F1EC9C

Accessibility & contrast

On white

1.49
#E2D831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.10
#E2D831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D831
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D831#FFFFFF#000000##000000
##E2D8311.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD000
Deuteranopia (green-blind)
#EFD73F
Tritanopia (blue-blind)
#F3C9B9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e2d831;
/* rgb */ color: rgb(226, 216, 49);
/* oklch */ color: oklch(86.4% 0.172 105.8);
Tailwind
colors: {
  custom: {
    50: '#efe378',
    500: '#e2d831',
    950: '#000000',
  },
}
SCSS
$custom: #e2d831;
$custom-light: #efe378;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d831",
  "rgb": {
    "r": 226,
    "g": 216,
    "b": 49
  },
  "hsl": {
    "h": 56.61,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.86372,
    "c": 0.17205,
    "h": 105.8
  },
  "luminance": 0.65502
}

Semantic roles & 50–950 ramp

primary
#E2D831
secondary
#2B318C
accent
#41F236
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #E2D831

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

Preview Lab → · Contrast checker → · Palette generator →

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