#E2C950#E2C950

#E2C950 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.5% C 0.141 H 97.5°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#E2C950
RGBrgb(226, 201, 80)
HSLhsl(50, 72%, 60%)
HSVhsv(50, 65%, 89%)
CMYKcmyk(0%, 11.1%, 64.6%, 11.4%)
CIE-LABlab(81.03, -4.88, 61.63)
CIE-LCHlch(81.03, 61.82, 94.53°)
OKLaboklab(83.48% -0.0185 0.1398)
OKLCHoklch(83.48% 0.141 97.5)
XYZxyz(53.7010, 58.5238, 16.0555)
Luminance0.5852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C950 #5069E2
analogous
#E28050 #E2C950 #B2E250
triadic
#E2C950 #50E2C9 #C950E2
tetradic
#E2C950 #50E280 #5069E2 #E250B2
square
#E2C950 #50E280 #5069E2 #E250B2
split-complementary
#E2C950 #50B2E2 #8050E2
monochromatic
#9E871A #D2B423 #E2C950 #EBD984 #F3E9B9

Accessibility & contrast

On white

1.65
#E2C950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#E2C950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C950
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C950#FFFFFF#000000##000000
##E2C9501.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC441
Deuteranopia (green-blind)
#E2CD56
Tritanopia (blue-blind)
#F3BBB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e2c950;
/* rgb */ color: rgb(226, 201, 80);
/* oklch */ color: oklch(83.5% 0.141 97.5);
Tailwind
colors: {
  custom: {
    50: '#eed986',
    500: '#e2c950',
    950: '#000000',
  },
}
SCSS
$custom: #e2c950;
$custom-light: #eed986;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c950",
  "rgb": {
    "r": 226,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 49.726,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.83482,
    "c": 0.141,
    "h": 97.5
  },
  "luminance": 0.58521
}

Semantic roles & 50–950 ramp

primary
#E2C950
secondary
#3548A1
accent
#58EE39
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C950

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

Preview Lab → · Contrast checker → · Palette generator →

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