#E2CD31#E2CD31

#E2CD31 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.1% C 0.163 H 101.1°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#E2CD31
RGBrgb(226, 205, 49)
HSLhsl(53, 75%, 54%)
HSVhsv(53, 78%, 89%)
CMYKcmyk(0%, 9.3%, 78.3%, 11.4%)
CIE-LABlab(81.87, -8.36, 73.75)
CIE-LCHlch(81.87, 74.22, 96.47°)
OKLaboklab(84.09% -0.0315 0.16)
OKLCHoklch(84.09% 0.163 101.1)
XYZxyz(53.7524, 60.0557, 11.6657)
Luminance0.6005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD31 #3146E2
analogous
#E27531 #E2CD31 #9FE231
triadic
#E2CD31 #31E2CD #CD31E2
tetradic
#E2CD31 #31E275 #3146E2 #E2319F
square
#E2CD31 #31E275 #3146E2 #E2319F
split-complementary
#E2CD31 #319FE2 #7531E2
monochromatic
#867813 #BBA81A #E2CD31 #EADA67 #F1E79C

Accessibility & contrast

On white

1.61
#E2CD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#E2CD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD31
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD31#FFFFFF#000000##000000
##E2CD311.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C700
Deuteranopia (green-blind)
#E7CF3D
Tritanopia (blue-blind)
#F4BEB0
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd31;
/* rgb */ color: rgb(226, 205, 49);
/* oklch */ color: oklch(84.1% 0.163 101.1);
Tailwind
colors: {
  custom: {
    50: '#f0db77',
    500: '#e2cd31',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd31;
$custom-light: #f0db77;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd31",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 49
  },
  "hsl": {
    "h": 52.881,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.84086,
    "c": 0.16309,
    "h": 101.1
  },
  "luminance": 0.60053
}

Semantic roles & 50–950 ramp

primary
#E2CD31
secondary
#2B378C
accent
#4CF236
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#171409
muted
#85837D

Preview Lab

Preview with #E2CD31

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

Preview Lab → · Contrast checker → · Palette generator →

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