#E2D631#E2D631

#E2D631 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 86.0% C 0.170 H 105.0°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#E2D631
RGBrgb(226, 214, 49)
HSLhsl(56, 75%, 54%)
HSVhsv(56, 78%, 89%)
CMYKcmyk(0%, 5.3%, 78.3%, 11.4%)
CIE-LABlab(84.22, -12.89, 75.84)
CIE-LCHlch(84.22, 76.92, 99.65°)
OKLaboklab(85.95% -0.0442 0.1645)
OKLCHoklch(85.95% 0.17 105)
XYZxyz(55.9675, 64.4859, 12.4041)
Luminance0.6448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D631 #313DE2
analogous
#E27E31 #E2D631 #96E231
triadic
#E2D631 #31E2D6 #D631E2
tetradic
#E2D631 #31E27E #313DE2 #E23196
square
#E2D631 #31E27E #313DE2 #E23196
split-complementary
#E2D631 #3196E2 #7E31E2
monochromatic
#867E13 #BBB01A #E2D631 #EAE167 #F1EB9C

Accessibility & contrast

On white

1.51
#E2D631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#E2D631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D631
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D631#FFFFFF#000000##000000
##E2D6311.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CE00
Deuteranopia (green-blind)
#EED53F
Tritanopia (blue-blind)
#F3C7B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e2d631;
/* rgb */ color: rgb(226, 214, 49);
/* oklch */ color: oklch(86.0% 0.170 105.0);
Tailwind
colors: {
  custom: {
    50: '#efe278',
    500: '#e2d631',
    950: '#000000',
  },
}
SCSS
$custom: #e2d631;
$custom-light: #efe278;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d631",
  "rgb": {
    "r": 226,
    "g": 214,
    "b": 49
  },
  "hsl": {
    "h": 55.932,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.85954,
    "c": 0.17034,
    "h": 105
  },
  "luminance": 0.64484
}

Semantic roles & 50–950 ramp

primary
#E2D631
secondary
#2B328C
accent
#43F236
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #E2D631

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

Preview Lab → · Contrast checker → · Palette generator →

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