#E4C248#E4C248

#E4C248 is a very light, vivid yellow. Relative luminance 0.555; OKLCH L 82.2% C 0.142 H 93.3°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#E4C248
RGBrgb(228, 194, 72)
HSLhsl(47, 74%, 59%)
HSVhsv(47, 68%, 89%)
CMYKcmyk(0%, 14.9%, 68.4%, 10.6%)
CIE-LABlab(79.36, -0.88, 63.25)
CIE-LCHlch(79.36, 63.26, 90.80°)
OKLaboklab(82.18% -0.0081 0.1419)
OKLCHoklch(82.18% 0.142 93.3)
XYZxyz(52.4591, 55.5483, 14.0884)
Luminance0.5554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C248 #486AE4
analogous
#E47448 #E4C248 #B8E448
triadic
#E4C248 #48E4C2 #C248E4
tetradic
#E4C248 #48E474 #486AE4 #E448B8
square
#E4C248 #48E474 #486AE4 #E448B8
split-complementary
#E4C248 #48B8E4 #7448E4
monochromatic
#9B7E17 #D0A91F #E4C248 #ECD47D #F4E6B3

Accessibility & contrast

On white

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

On black

12.11
#E4C248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C248
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C248#FFFFFF#000000##000000
##E4C2481.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4c248;
/* rgb */ color: rgb(228, 194, 72);
/* oklch */ color: oklch(82.2% 0.142 93.3);
Tailwind
colors: {
  custom: {
    50: '#f0d481',
    500: '#e4c248',
    950: '#000000',
  },
}
SCSS
$custom: #e4c248;
$custom-light: #f0d481;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c248",
  "rgb": {
    "r": 228,
    "g": 194,
    "b": 72
  },
  "hsl": {
    "h": 46.923,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82182,
    "c": 0.1421,
    "h": 93.3
  },
  "luminance": 0.55545
}

Semantic roles & 50–950 ramp

primary
#E4C248
secondary
#324A9E
accent
#5FF137
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4C248

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

Preview Lab → · Contrast checker → · Palette generator →

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