#E2C949#E2C949

#E2C949 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.4% C 0.146 H 98.0°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#E2C949
RGBrgb(226, 201, 73)
HSLhsl(50, 73%, 59%)
HSVhsv(50, 68%, 89%)
CMYKcmyk(0%, 11.1%, 67.7%, 11.4%)
CIE-LABlab(80.97, -5.28, 64.45)
CIE-LCHlch(80.97, 64.67, 94.68°)
OKLaboklab(83.42% -0.0204 0.1446)
OKLCHoklch(83.42% 0.146 98)
XYZxyz(53.4557, 58.4257, 14.7636)
Luminance0.5842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C949 #4962E2
analogous
#E27C49 #E2C949 #AEE249
triadic
#E2C949 #49E2C9 #C949E2
tetradic
#E2C949 #49E27C #4962E2 #E249AE
square
#E2C949 #49E27C #4962E2 #E249AE
split-complementary
#E2C949 #49AEE2 #7C49E2
monochromatic
#988318 #CDB121 #E2C949 #EAD97E #F3E8B3

Accessibility & contrast

On white

1.66
#E2C949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#E2C949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C949
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C949#FFFFFF#000000##000000
##E2C9491.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC438
Deuteranopia (green-blind)
#E3CD50
Tritanopia (blue-blind)
#F3BAAF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e2c949;
/* rgb */ color: rgb(226, 201, 73);
/* oklch */ color: oklch(83.4% 0.146 98.0);
Tailwind
colors: {
  custom: {
    50: '#efd982',
    500: '#e2c949',
    950: '#000000',
  },
}
SCSS
$custom: #e2c949;
$custom-light: #efd982;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c949",
  "rgb": {
    "r": 226,
    "g": 201,
    "b": 73
  },
  "hsl": {
    "h": 50.196,
    "s": 72.512,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83422,
    "c": 0.14607,
    "h": 98
  },
  "luminance": 0.58423
}

Semantic roles & 50–950 ramp

primary
#E2C949
secondary
#33449C
accent
#56EF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C949

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

Preview Lab → · Contrast checker → · Palette generator →

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