#E4C751#E4C751

#E4C751 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 83.3% C 0.139 H 95.4°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#E4C751
RGBrgb(228, 199, 81)
HSLhsl(48, 73%, 61%)
HSVhsv(48, 64%, 89%)
CMYKcmyk(0%, 12.7%, 64.5%, 10.6%)
CIE-LABlab(80.70, -2.95, 60.91)
CIE-LCHlch(80.70, 60.98, 92.78°)
OKLaboklab(83.27% -0.013 0.1384)
OKLCHoklch(83.27% 0.139 95.4)
XYZxyz(53.9060, 57.9376, 16.1267)
Luminance0.5794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C751 #516EE4
analogous
#E47D51 #E4C751 #B8E451
triadic
#E4C751 #51E4C7 #C751E4
tetradic
#E4C751 #51E47D #516EE4 #E451B8
square
#E4C751 #51E47D #516EE4 #E451B8
split-complementary
#E4C751 #51B8E4 #7D51E4
monochromatic
#A28719 #D7B321 #E4C751 #ECD886 #F4E9BB

Accessibility & contrast

On white

1.67
#E4C751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#E4C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C751
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C751#FFFFFF#000000##000000
##E4C7511.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC343
Deuteranopia (green-blind)
#E2CC57
Tritanopia (blue-blind)
#F5B9AE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e4c751;
/* rgb */ color: rgb(228, 199, 81);
/* oklch */ color: oklch(83.3% 0.139 95.4);
Tailwind
colors: {
  custom: {
    50: '#f0d787',
    500: '#e4c751',
    950: '#000000',
  },
}
SCSS
$custom: #e4c751;
$custom-light: #f0d787;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c751",
  "rgb": {
    "r": 228,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 48.163,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8327,
    "c": 0.13897,
    "h": 95.4
  },
  "luminance": 0.57935
}

Semantic roles & 50–950 ramp

primary
#E4C751
secondary
#354BA4
accent
#37D510
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C751

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

Preview Lab → · Contrast checker → · Palette generator →

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