#E2C14C#E2C14C

#E2C14C is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.8% C 0.138 H 93.2°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#E2C14C
RGBrgb(226, 193, 76)
HSLhsl(47, 72%, 59%)
HSVhsv(47, 66%, 89%)
CMYKcmyk(0%, 14.6%, 66.4%, 11.4%)
CIE-LABlab(78.95, -0.99, 61.11)
CIE-LCHlch(78.95, 61.12, 90.93°)
OKLaboklab(81.82% -0.0078 0.1381)
OKLCHoklch(81.82% 0.138 93.2)
XYZxyz(51.7411, 54.8333, 14.6946)
Luminance0.5483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C14C #4C6DE2
analogous
#E2764C #E2C14C #B8E24C
triadic
#E2C14C #4CE2C1 #C14CE2
tetradic
#E2C14C #4CE276 #4C6DE2 #E24CB8
square
#E2C14C #4CE276 #4C6DE2 #E24CB8
split-complementary
#E2C14C #4CB8E2 #764CE2
monochromatic
#9B7E19 #CFA922 #E2C14C #EBD381 #F3E5B5

Accessibility & contrast

On white

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

On black

11.97
#E2C14C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C14C
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C14C#FFFFFF#000000##000000
##E2C14C1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3E
Deuteranopia (green-blind)
#DDC852
Tritanopia (blue-blind)
#F4B2A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e2c14c;
/* rgb */ color: rgb(226, 193, 76);
/* oklch */ color: oklch(81.8% 0.138 93.2);
Tailwind
colors: {
  custom: {
    50: '#efd383',
    500: '#e2c14c',
    950: '#000000',
  },
}
SCSS
$custom: #e2c14c;
$custom-light: #efd383;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c14c",
  "rgb": {
    "r": 226,
    "g": 193,
    "b": 76
  },
  "hsl": {
    "h": 46.8,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81824,
    "c": 0.13828,
    "h": 93.2
  },
  "luminance": 0.5483
}

Semantic roles & 50–950 ramp

primary
#E2C14C
secondary
#344B9E
accent
#61EF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C14C

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

Preview Lab → · Contrast checker → · Palette generator →

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