#E2C14D#E2C14D

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

Color values

HEX#E2C14D
RGBrgb(226, 193, 77)
HSLhsl(47, 72%, 59%)
HSVhsv(47, 66%, 89%)
CMYKcmyk(0%, 14.6%, 65.9%, 11.4%)
CIE-LABlab(78.95, -0.93, 60.70)
CIE-LCHlch(78.95, 60.70, 90.88°)
OKLaboklab(81.83% -0.0075 0.1373)
OKLCHoklch(81.83% 0.138 93.1)
XYZxyz(51.7761, 54.8473, 14.8792)
Luminance0.5484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C14D #4D6EE2
analogous
#E2764D #E2C14D #B9E24D
triadic
#E2C14D #4DE2C1 #C14DE2
tetradic
#E2C14D #4DE276 #4D6EE2 #E24DB9
square
#E2C14D #4DE276 #4D6EE2 #E24DB9
split-complementary
#E2C14D #4DB9E2 #764DE2
monochromatic
#9B7F19 #D0A922 #E2C14D #EBD382 #F3E6B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2C14D#FFFFFF#000000##000000
##E2C14D1.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)
#D5BE3F
Deuteranopia (green-blind)
#DDC853
Tritanopia (blue-blind)
#F4B2A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e2c14d;
/* rgb */ color: rgb(226, 193, 77);
/* oklch */ color: oklch(81.8% 0.138 93.1);
Tailwind
colors: {
  custom: {
    50: '#efd384',
    500: '#e2c14d',
    950: '#000000',
  },
}
SCSS
$custom: #e2c14d;
$custom-light: #efd384;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c14d",
  "rgb": {
    "r": 226,
    "g": 193,
    "b": 77
  },
  "hsl": {
    "h": 46.711,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81833,
    "c": 0.13754,
    "h": 93.1
  },
  "luminance": 0.54845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2C14D

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

Preview Lab → · Contrast checker → · Palette generator →

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