#E2C04B#E2C04B

#E2C04B is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.6% C 0.138 H 92.7°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#E2C04B
RGBrgb(226, 192, 75)
HSLhsl(46, 72%, 59%)
HSVhsv(46, 67%, 89%)
CMYKcmyk(0%, 15%, 66.8%, 11.4%)
CIE-LABlab(78.68, -0.53, 61.25)
CIE-LCHlch(78.68, 61.26, 90.49°)
OKLaboklab(81.61% -0.0066 0.1382)
OKLCHoklch(81.61% 0.138 92.7)
XYZxyz(51.4863, 54.3789, 14.4395)
Luminance0.5438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C04B #4B6DE2
analogous
#E2754B #E2C04B #B9E24B
triadic
#E2C04B #4BE2C0 #C04BE2
tetradic
#E2C04B #4BE275 #4B6DE2 #E24BB9
square
#E2C04B #4BE275 #4B6DE2 #E24BB9
split-complementary
#E2C04B #4BB9E2 #754BE2
monochromatic
#9A7D19 #CFA821 #E2C04B #EAD280 #F3E5B4

Accessibility & contrast

On white

1.77
#E2C04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#E2C04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C04B
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C04B#FFFFFF#000000##000000
##E2C04B1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3C
Deuteranopia (green-blind)
#DCC751
Tritanopia (blue-blind)
#F4B1A8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e2c04b;
/* rgb */ color: rgb(226, 192, 75);
/* oklch */ color: oklch(81.6% 0.138 92.7);
Tailwind
colors: {
  custom: {
    50: '#efd283',
    500: '#e2c04b',
    950: '#000000',
  },
}
SCSS
$custom: #e2c04b;
$custom-light: #efd283;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c04b",
  "rgb": {
    "r": 226,
    "g": 192,
    "b": 75
  },
  "hsl": {
    "h": 46.49,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81613,
    "c": 0.13836,
    "h": 92.7
  },
  "luminance": 0.54376
}

Semantic roles & 50–950 ramp

primary
#E2C04B
secondary
#344C9E
accent
#62EF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C04B

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

Preview Lab → · Contrast checker → · Palette generator →

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