#E2C849#E2C849

#E2C849 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.2% C 0.145 H 97.5°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#E2C849
RGBrgb(226, 200, 73)
HSLhsl(50, 73%, 59%)
HSVhsv(50, 68%, 89%)
CMYKcmyk(0%, 11.5%, 67.7%, 11.4%)
CIE-LABlab(80.72, -4.76, 64.19)
CIE-LCHlch(80.72, 64.36, 94.24°)
OKLaboklab(83.22% -0.0189 0.1441)
OKLCHoklch(83.22% 0.145 97.5)
XYZxyz(53.2234, 57.9610, 14.6862)
Luminance0.5796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C849 #4963E2
analogous
#E27B49 #E2C849 #AFE249
triadic
#E2C849 #49E2C8 #C849E2
tetradic
#E2C849 #49E27B #4963E2 #E249AF
square
#E2C849 #49E27B #4963E2 #E249AF
split-complementary
#E2C849 #49AFE2 #7B49E2
monochromatic
#988318 #CDB021 #E2C849 #EAD87E #F3E8B3

Accessibility & contrast

On white

1.67
#E2C849 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#E2C849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C849
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C849#FFFFFF#000000##000000
##E2C8491.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC338
Deuteranopia (green-blind)
#E2CC50
Tritanopia (blue-blind)
#F3B9AE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e2c849;
/* rgb */ color: rgb(226, 200, 73);
/* oklch */ color: oklch(83.2% 0.145 97.5);
Tailwind
colors: {
  custom: {
    50: '#efd882',
    500: '#e2c849',
    950: '#000000',
  },
}
SCSS
$custom: #e2c849;
$custom-light: #efd882;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c849",
  "rgb": {
    "r": 226,
    "g": 200,
    "b": 73
  },
  "hsl": {
    "h": 49.804,
    "s": 72.512,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83218,
    "c": 0.14532,
    "h": 97.5
  },
  "luminance": 0.57958
}

Semantic roles & 50–950 ramp

primary
#E2C849
secondary
#33459C
accent
#58EF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C849

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

Preview Lab → · Contrast checker → · Palette generator →

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