#E4C148#E4C148

#E4C148 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 82.0% C 0.141 H 92.7°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#E4C148
RGBrgb(228, 193, 72)
HSLhsl(47, 74%, 59%)
HSVhsv(47, 68%, 89%)
CMYKcmyk(0%, 15.4%, 68.4%, 10.6%)
CIE-LABlab(79.10, -0.36, 62.99)
CIE-LCHlch(79.10, 62.99, 90.33°)
OKLaboklab(81.98% -0.0066 0.1413)
OKLCHoklch(81.98% 0.141 92.7)
XYZxyz(52.2373, 55.1047, 14.0145)
Luminance0.5510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C148 #486BE4
analogous
#E47348 #E4C148 #B9E448
triadic
#E4C148 #48E4C1 #C148E4
tetradic
#E4C148 #48E473 #486BE4 #E448B9
square
#E4C148 #48E473 #486BE4 #E448B9
split-complementary
#E4C148 #48B9E4 #7348E4
monochromatic
#9B7D17 #D0A81F #E4C148 #ECD37D #F4E5B3

Accessibility & contrast

On white

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

On black

12.02
#E4C148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C148
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C148#FFFFFF#000000##000000
##E4C1481.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE38
Deuteranopia (green-blind)
#DEC84E
Tritanopia (blue-blind)
#F6B2A8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e4c148;
/* rgb */ color: rgb(228, 193, 72);
/* oklch */ color: oklch(82.0% 0.141 92.7);
Tailwind
colors: {
  custom: {
    50: '#f0d381',
    500: '#e4c148',
    950: '#000000',
  },
}
SCSS
$custom: #e4c148;
$custom-light: #f0d381;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c148",
  "rgb": {
    "r": 228,
    "g": 193,
    "b": 72
  },
  "hsl": {
    "h": 46.538,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81981,
    "c": 0.14146,
    "h": 92.7
  },
  "luminance": 0.55102
}

Semantic roles & 50–950 ramp

primary
#E4C148
secondary
#324A9E
accent
#61F137
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4C148

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

Preview Lab → · Contrast checker → · Palette generator →

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