#E2C14B#E2C14B

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

Color values

HEX#E2C14B
RGBrgb(226, 193, 75)
HSLhsl(47, 72%, 59%)
HSVhsv(47, 67%, 89%)
CMYKcmyk(0%, 14.6%, 66.8%, 11.4%)
CIE-LABlab(78.94, -1.04, 61.52)
CIE-LCHlch(78.94, 61.53, 90.97°)
OKLaboklab(81.82% -0.0081 0.1388)
OKLCHoklch(81.82% 0.139 93.3)
XYZxyz(51.7066, 54.8195, 14.5130)
Luminance0.5482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C14B #4B6CE2
analogous
#E2764B #E2C14B #B8E24B
triadic
#E2C14B #4BE2C1 #C14BE2
tetradic
#E2C14B #4BE276 #4B6CE2 #E24BB8
square
#E2C14B #4BE276 #4B6CE2 #E24BB8
split-complementary
#E2C14B #4BB8E2 #764BE2
monochromatic
#9A7E19 #CFA921 #E2C14B #EAD380 #F3E5B4

Accessibility & contrast

On white

1.76
#E2C14B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#E2C14B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C14B
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C14B#FFFFFF#000000##000000
##E2C14B1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3C
Deuteranopia (green-blind)
#DDC851
Tritanopia (blue-blind)
#F4B2A8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e2c14b;
/* rgb */ color: rgb(226, 193, 75);
/* oklch */ color: oklch(81.8% 0.139 93.3);
Tailwind
colors: {
  custom: {
    50: '#efd383',
    500: '#e2c14b',
    950: '#000000',
  },
}
SCSS
$custom: #e2c14b;
$custom-light: #efd383;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c14b",
  "rgb": {
    "r": 226,
    "g": 193,
    "b": 75
  },
  "hsl": {
    "h": 46.887,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81815,
    "c": 0.139,
    "h": 93.3
  },
  "luminance": 0.54817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2C14B

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

Preview Lab → · Contrast checker → · Palette generator →

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