#E0C751#E0C751

#E0C751 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.9% C 0.139 H 97.3°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#E0C751
RGBrgb(224, 199, 81)
HSLhsl(50, 70%, 60%)
HSVhsv(50, 64%, 88%)
CMYKcmyk(0%, 11.2%, 63.8%, 12.2%)
CIE-LABlab(80.34, -4.63, 60.42)
CIE-LCHlch(80.34, 60.60, 94.38°)
OKLaboklab(82.9% -0.0175 0.1374)
OKLCHoklch(82.9% 0.139 97.3)
XYZxyz(52.6514, 57.2907, 16.0679)
Luminance0.5729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0C751 #516AE0
analogous
#E07F51 #E0C751 #B2E051
triadic
#E0C751 #51E0C7 #C751E0
tetradic
#E0C751 #51E07F #516AE0 #E051B2
square
#E0C751 #51E07F #516AE0 #E051B2
split-complementary
#E0C751 #51B2E0 #7F51E0
monochromatic
#9B851C #CFB125 #E0C751 #E9D885 #F3E8B9

Accessibility & contrast

On white

1.69
#E0C751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#E0C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0C751
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0C751#FFFFFF#000000##000000
##E0C7511.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC243
Deuteranopia (green-blind)
#E0CB57
Tritanopia (blue-blind)
#F1B9AE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e0c751;
/* rgb */ color: rgb(224, 199, 81);
/* oklch */ color: oklch(82.9% 0.139 97.3);
Tailwind
colors: {
  custom: {
    50: '#edd787',
    500: '#e0c751',
    950: '#000000',
  },
}
SCSS
$custom: #e0c751;
$custom-light: #edd787;
$custom-dark: #000000;
JSON
{
  "hex": "#e0c751",
  "rgb": {
    "r": 224,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 49.51,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82899,
    "c": 0.13853,
    "h": 97.3
  },
  "luminance": 0.57288
}

Semantic roles & 50–950 ramp

primary
#E0C751
secondary
#37499F
accent
#5AED3B
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E0C751

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

Preview Lab → · Contrast checker → · Palette generator →

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