#E5C651#E5C651

#E5C651 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 83.2% C 0.138 H 94.3°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#E5C651
RGBrgb(229, 198, 81)
HSLhsl(47, 74%, 61%)
HSVhsv(47, 65%, 90%)
CMYKcmyk(0%, 13.5%, 64.6%, 10.2%)
CIE-LABlab(80.54, -2.02, 60.77)
CIE-LCHlch(80.54, 60.80, 91.90°)
OKLaboklab(83.16% -0.0103 0.138)
OKLCHoklch(83.16% 0.138 94.3)
XYZxyz(53.9949, 57.6431, 16.0652)
Luminance0.5764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C651 #5170E5
analogous
#E57C51 #E5C651 #BAE551
triadic
#E5C651 #51E5C6 #C651E5
tetradic
#E5C651 #51E57C #5170E5 #E551BA
square
#E5C651 #51E57C #5170E5 #E551BA
split-complementary
#E5C651 #51BAE5 #7C51E5
monochromatic
#A38618 #D8B220 #E5C651 #EDD786 #F5E9BB

Accessibility & contrast

On white

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

On black

12.53
#E5C651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C651
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C651#FFFFFF#000000##000000
##E5C6511.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5c651;
/* rgb */ color: rgb(229, 198, 81);
/* oklch */ color: oklch(83.2% 0.138 94.3);
Tailwind
colors: {
  custom: {
    50: '#f1d787',
    500: '#e5c651',
    950: '#000000',
  },
}
SCSS
$custom: #e5c651;
$custom-light: #f1d787;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c651",
  "rgb": {
    "r": 229,
    "g": 198,
    "b": 81
  },
  "hsl": {
    "h": 47.432,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83162,
    "c": 0.1384,
    "h": 94.3
  },
  "luminance": 0.5764
}

Semantic roles & 50–950 ramp

primary
#E5C651
secondary
#354CA6
accent
#39D60F
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5C651

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

Preview Lab → · Contrast checker → · Palette generator →

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