#E8C148#E8C148

#E8C148 is a very light, vivid yellow. Relative luminance 0.558; OKLCH L 82.4% C 0.142 H 90.8°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#E8C148
RGBrgb(232, 193, 72)
HSLhsl(45, 78%, 60%)
HSVhsv(45, 69%, 91%)
CMYKcmyk(0%, 16.8%, 69%, 9%)
CIE-LABlab(79.48, 1.33, 63.50)
CIE-LCHlch(79.48, 63.51, 88.80°)
OKLaboklab(82.37% -0.0019 0.1422)
OKLCHoklch(82.37% 0.142 90.8)
XYZxyz(53.5212, 55.7668, 14.0747)
Luminance0.5576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8C148 #486FE8
analogous
#E87148 #E8C148 #BFE848
triadic
#E8C148 #48E8C1 #C148E8
tetradic
#E8C148 #48E871 #486FE8 #E848BF
square
#E8C148 #48E871 #486FE8 #E848BF
split-complementary
#E8C148 #48BFE8 #7148E8
monochromatic
#A17F14 #D8AA1B #E8C148 #EFD37E #F6E6B5

Accessibility & contrast

On white

1.73
#E8C148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#E8C148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8C148
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8C148#FFFFFF#000000##000000
##E8C1481.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF38
Deuteranopia (green-blind)
#DFCA4E
Tritanopia (blue-blind)
#FBB2A8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e8c148;
/* rgb */ color: rgb(232, 193, 72);
/* oklch */ color: oklch(82.4% 0.142 90.8);
Tailwind
colors: {
  custom: {
    50: '#f3d381',
    500: '#e8c148',
    950: '#000000',
  },
}
SCSS
$custom: #e8c148;
$custom-light: #f3d381;
$custom-dark: #000000;
JSON
{
  "hex": "#e8c148",
  "rgb": {
    "r": 232,
    "g": 193,
    "b": 72
  },
  "hsl": {
    "h": 45.375,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82368,
    "c": 0.14226,
    "h": 90.8
  },
  "luminance": 0.55764
}

Semantic roles & 50–950 ramp

primary
#E8C148
secondary
#304DA4
accent
#63F434
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #E8C148

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

Preview Lab → · Contrast checker → · Palette generator →

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