#E5C751#E5C751

#E5C751 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.4% C 0.139 H 94.9°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#E5C751
RGBrgb(229, 199, 81)
HSLhsl(48, 74%, 61%)
HSVhsv(48, 65%, 90%)
CMYKcmyk(0%, 13.1%, 64.6%, 10.2%)
CIE-LABlab(80.80, -2.53, 61.04)
CIE-LCHlch(80.80, 61.09, 92.38°)
OKLaboklab(83.36% -0.0118 0.1386)
OKLCHoklch(83.36% 0.139 94.9)
XYZxyz(54.2243, 58.1017, 16.1416)
Luminance0.5810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C751 #516FE5
analogous
#E57D51 #E5C751 #B9E551
triadic
#E5C751 #51E5C7 #C751E5
tetradic
#E5C751 #51E57D #516FE5 #E551B9
square
#E5C751 #51E57D #516FE5 #E551B9
split-complementary
#E5C751 #51B9E5 #7D51E5
monochromatic
#A38718 #D8B320 #E5C751 #EDD886 #F5E9BB

Accessibility & contrast

On white

1.66
#E5C751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#E5C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C751
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C751#FFFFFF#000000##000000
##E5C7511.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC343
Deuteranopia (green-blind)
#E2CD57
Tritanopia (blue-blind)
#F6B9AE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e5c751;
/* rgb */ color: rgb(229, 199, 81);
/* oklch */ color: oklch(83.4% 0.139 94.9);
Tailwind
colors: {
  custom: {
    50: '#f1d787',
    500: '#e5c751',
    950: '#000000',
  },
}
SCSS
$custom: #e5c751;
$custom-light: #f1d787;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c751",
  "rgb": {
    "r": 229,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 47.838,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83364,
    "c": 0.13909,
    "h": 94.9
  },
  "luminance": 0.58099
}

Semantic roles & 50–950 ramp

primary
#E5C751
secondary
#354BA6
accent
#38D60F
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E5C751

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

Preview Lab → · Contrast checker → · Palette generator →

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