#E0C148#E0C148

#E0C148 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.6% C 0.141 H 94.6°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#E0C148
RGBrgb(224, 193, 72)
HSLhsl(48, 71%, 58%)
HSVhsv(48, 68%, 88%)
CMYKcmyk(0%, 13.8%, 67.9%, 12.2%)
CIE-LABlab(78.73, -2.06, 62.49)
CIE-LCHlch(78.73, 62.52, 91.88°)
OKLaboklab(81.6% -0.0112 0.1404)
OKLCHoklch(81.6% 0.141 94.6)
XYZxyz(50.9827, 54.4578, 13.9557)
Luminance0.5445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0C148 #4867E0
analogous
#E07548 #E0C148 #B3E048
triadic
#E0C148 #48E0C1 #C148E0
tetradic
#E0C148 #48E075 #4867E0 #E048B3
square
#E0C148 #48E075 #4867E0 #E048B3
split-complementary
#E0C148 #48B3E0 #7548E0
monochromatic
#947B19 #C9A722 #E0C148 #E9D37C #F2E4B1

Accessibility & contrast

On white

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

On black

11.89
#E0C148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0C148
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0C148#FFFFFF#000000##000000
##E0C1481.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD38
Deuteranopia (green-blind)
#DCC74E
Tritanopia (blue-blind)
#F1B2A8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e0c148;
/* rgb */ color: rgb(224, 193, 72);
/* oklch */ color: oklch(81.6% 0.141 94.6);
Tailwind
colors: {
  custom: {
    50: '#edd381',
    500: '#e0c148',
    950: '#000000',
  },
}
SCSS
$custom: #e0c148;
$custom-light: #edd381;
$custom-dark: #000000;
JSON
{
  "hex": "#e0c148",
  "rgb": {
    "r": 224,
    "g": 193,
    "b": 72
  },
  "hsl": {
    "h": 47.763,
    "s": 71.028,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81599,
    "c": 0.14083,
    "h": 94.6
  },
  "luminance": 0.54455
}

Semantic roles & 50–950 ramp

primary
#E0C148
secondary
#334899
accent
#5FEE3A
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E0C148

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

Preview Lab → · Contrast checker → · Palette generator →

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