#E2CD46#E2CD46

#E2CD46 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.2% C 0.151 H 100.3°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#E2CD46
RGBrgb(226, 205, 70)
HSLhsl(52, 73%, 58%)
HSVhsv(52, 69%, 89%)
CMYKcmyk(0%, 9.3%, 69%, 11.4%)
CIE-LABlab(81.99, -7.47, 66.65)
CIE-LCHlch(81.99, 67.07, 96.40°)
OKLaboklab(84.22% -0.027 0.1488)
OKLCHoklch(84.22% 0.151 100.3)
XYZxyz(54.3033, 60.2761, 14.5672)
Luminance0.6027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD46 #465BE2
analogous
#E27F46 #E2CD46 #A9E246
triadic
#E2CD46 #46E2CD #CD46E2
tetradic
#E2CD46 #46E27F #465BE2 #E246A9
square
#E2CD46 #46E27F #465BE2 #E246A9
split-complementary
#E2CD46 #46A9E2 #7F46E2
monochromatic
#968518 #CBB420 #E2CD46 #EADB7B #F3EAB0

Accessibility & contrast

On white

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

On black

13.05
#E2CD46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD46
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD46#FFFFFF#000000##000000
##E2CD461.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C732
Deuteranopia (green-blind)
#E6CF4E
Tritanopia (blue-blind)
#F3BEB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd46;
/* rgb */ color: rgb(226, 205, 70);
/* oklch */ color: oklch(84.2% 0.151 100.3);
Tailwind
colors: {
  custom: {
    50: '#efdb81',
    500: '#e2cd46',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd46;
$custom-light: #efdb81;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd46",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 70
  },
  "hsl": {
    "h": 51.923,
    "s": 72.897,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84219,
    "c": 0.15122,
    "h": 100.3
  },
  "luminance": 0.60274
}

Semantic roles & 50–950 ramp

primary
#E2CD46
secondary
#32409A
accent
#51F038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2CD46

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

Preview Lab → · Contrast checker → · Palette generator →

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