#E4C651#E4C651

#E4C651 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 83.1% C 0.138 H 94.8°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#E4C651
RGBrgb(228, 198, 81)
HSLhsl(48, 73%, 61%)
HSVhsv(48, 64%, 89%)
CMYKcmyk(0%, 13.2%, 64.5%, 10.6%)
CIE-LABlab(80.45, -2.44, 60.64)
CIE-LCHlch(80.45, 60.69, 92.30°)
OKLaboklab(83.07% -0.0115 0.1378)
OKLCHoklch(83.07% 0.138 94.8)
XYZxyz(53.6767, 57.4790, 16.0502)
Luminance0.5748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C651 #516FE4
analogous
#E47C51 #E4C651 #B8E451
triadic
#E4C651 #51E4C6 #C651E4
tetradic
#E4C651 #51E47C #516FE4 #E451B8
square
#E4C651 #51E47C #516FE4 #E451B8
split-complementary
#E4C651 #51B8E4 #7C51E4
monochromatic
#A28619 #D7B221 #E4C651 #ECD786 #F4E9BB

Accessibility & contrast

On white

1.68
#E4C651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#E4C651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C651
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C651#FFFFFF#000000##000000
##E4C6511.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C243
Deuteranopia (green-blind)
#E1CC57
Tritanopia (blue-blind)
#F5B8AD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e4c651;
/* rgb */ color: rgb(228, 198, 81);
/* oklch */ color: oklch(83.1% 0.138 94.8);
Tailwind
colors: {
  custom: {
    50: '#f0d787',
    500: '#e4c651',
    950: '#000000',
  },
}
SCSS
$custom: #e4c651;
$custom-light: #f0d787;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c651",
  "rgb": {
    "r": 228,
    "g": 198,
    "b": 81
  },
  "hsl": {
    "h": 47.755,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83068,
    "c": 0.13826,
    "h": 94.8
  },
  "luminance": 0.57476
}

Semantic roles & 50–950 ramp

primary
#E4C651
secondary
#354CA4
accent
#38D510
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C651

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

Preview Lab → · Contrast checker → · Palette generator →

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