#E7C751#E7C751

#E7C751 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.6% C 0.139 H 93.9°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#E7C751
RGBrgb(231, 199, 81)
HSLhsl(47, 76%, 61%)
HSVhsv(47, 65%, 91%)
CMYKcmyk(0%, 13.9%, 64.9%, 9.4%)
CIE-LABlab(80.98, -1.69, 61.29)
CIE-LCHlch(80.98, 61.31, 91.58°)
OKLaboklab(83.55% -0.0095 0.1391)
OKLCHoklch(83.55% 0.139 93.9)
XYZxyz(54.8663, 58.4327, 16.1717)
Luminance0.5843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C751 #5171E7
analogous
#E77C51 #E7C751 #BCE751
triadic
#E7C751 #51E7C7 #C751E7
tetradic
#E7C751 #51E77C #5171E7 #E751BC
square
#E7C751 #51E77C #5171E7 #E751BC
split-complementary
#E7C751 #51BCE7 #7C51E7
monochromatic
#A78817 #DCB41E #E7C751 #EED887 #F6EABD

Accessibility & contrast

On white

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

On black

12.69
#E7C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C751
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C751#FFFFFF#000000##000000
##E7C7511.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC343
Deuteranopia (green-blind)
#E3CD57
Tritanopia (blue-blind)
#F9B8AE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e7c751;
/* rgb */ color: rgb(231, 199, 81);
/* oklch */ color: oklch(83.6% 0.139 93.9);
Tailwind
colors: {
  custom: {
    50: '#f2d787',
    500: '#e7c751',
    950: '#000000',
  },
}
SCSS
$custom: #e7c751;
$custom-light: #f2d787;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c751",
  "rgb": {
    "r": 231,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 47.2,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83552,
    "c": 0.1394,
    "h": 93.9
  },
  "luminance": 0.5843
}

Semantic roles & 50–950 ramp

primary
#E7C751
secondary
#344DA8
accent
#39D80E
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7C751

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

Preview Lab → · Contrast checker → · Palette generator →

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