#E2CD47#E2CD47

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

Color values

HEX#E2CD47
RGBrgb(226, 205, 71)
HSLhsl(52, 73%, 58%)
HSVhsv(52, 69%, 89%)
CMYKcmyk(0%, 9.3%, 68.6%, 11.4%)
CIE-LABlab(81.99, -7.42, 66.28)
CIE-LCHlch(81.99, 66.69, 96.39°)
OKLaboklab(84.23% -0.0267 0.1482)
OKLCHoklch(84.23% 0.151 100.2)
XYZxyz(54.3351, 60.2888, 14.7349)
Luminance0.6029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD47 #475CE2
analogous
#E27F47 #E2CD47 #A9E247
triadic
#E2CD47 #47E2CD #CD47E2
tetradic
#E2CD47 #47E27F #475CE2 #E247A9
square
#E2CD47 #47E27F #475CE2 #E247A9
split-complementary
#E2CD47 #47A9E2 #7F47E2
monochromatic
#978618 #CCB420 #E2CD47 #EADB7C #F3EAB1

Accessibility & contrast

On white

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

On black

13.06
#E2CD47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD47
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD47#FFFFFF#000000##000000
##E2CD471.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2cd47;
/* rgb */ color: rgb(226, 205, 71);
/* oklch */ color: oklch(84.2% 0.151 100.2);
Tailwind
colors: {
  custom: {
    50: '#efdb82',
    500: '#e2cd47',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd47;
$custom-light: #efdb82;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd47",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 71
  },
  "hsl": {
    "h": 51.871,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84226,
    "c": 0.15055,
    "h": 100.2
  },
  "luminance": 0.60286
}

Semantic roles & 50–950 ramp

primary
#E2CD47
secondary
#32409B
accent
#51EF38
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2CD47

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

Preview Lab → · Contrast checker → · Palette generator →

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