#E2C150#E2C150

#E2C150 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.9% C 0.135 H 92.8°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#E2C150
RGBrgb(226, 193, 80)
HSLhsl(46, 72%, 60%)
HSVhsv(46, 65%, 89%)
CMYKcmyk(0%, 14.6%, 64.6%, 11.4%)
CIE-LABlab(78.98, -0.75, 59.44)
CIE-LCHlch(78.98, 59.44, 90.73°)
OKLaboklab(81.86% -0.0066 0.1351)
OKLCHoklch(81.86% 0.135 92.8)
XYZxyz(51.8845, 54.8907, 15.4499)
Luminance0.5489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C150 #5071E2
analogous
#E27850 #E2C150 #BAE250
triadic
#E2C150 #50E2C1 #C150E2
tetradic
#E2C150 #50E278 #5071E2 #E250BA
square
#E2C150 #50E278 #5071E2 #E250BA
split-complementary
#E2C150 #50BAE2 #7850E2
monochromatic
#9E801A #D2AA23 #E2C150 #EBD484 #F3E6B9

Accessibility & contrast

On white

1.75
#E2C150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#E2C150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C150
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C150#FFFFFF#000000##000000
##E2C1501.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE43
Deuteranopia (green-blind)
#DDC855
Tritanopia (blue-blind)
#F3B3A9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e2c150;
/* rgb */ color: rgb(226, 193, 80);
/* oklch */ color: oklch(81.9% 0.135 92.8);
Tailwind
colors: {
  custom: {
    50: '#efd386',
    500: '#e2c150',
    950: '#000000',
  },
}
SCSS
$custom: #e2c150;
$custom-light: #efd386;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c150",
  "rgb": {
    "r": 226,
    "g": 193,
    "b": 80
  },
  "hsl": {
    "h": 46.438,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.81861,
    "c": 0.1353,
    "h": 92.8
  },
  "luminance": 0.54888
}

Semantic roles & 50–950 ramp

primary
#E2C150
secondary
#354EA1
accent
#62EE39
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C150

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

Preview Lab → · Contrast checker → · Palette generator →

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