#E7C956#E7C956

#E7C956 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 84.0% C 0.137 H 94.6°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#E7C956
RGBrgb(231, 201, 86)
HSLhsl(48, 75%, 62%)
HSVhsv(48, 63%, 91%)
CMYKcmyk(0%, 13%, 62.8%, 9.4%)
CIE-LABlab(81.53, -2.42, 59.73)
CIE-LCHlch(81.53, 59.78, 92.32°)
OKLaboklab(84% -0.011 0.1365)
OKLCHoklch(84% 0.137 94.6)
XYZxyz(55.5239, 59.4369, 17.3502)
Luminance0.5943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C956 #5674E7
analogous
#E78056 #E7C956 #BDE756
triadic
#E7C956 #56E7C9 #C956E7
tetradic
#E7C956 #56E780 #5674E7 #E756BD
square
#E7C956 #56E780 #5674E7 #E756BD
split-complementary
#E7C956 #56BDE7 #8056E7
monochromatic
#AA8C18 #DFB820 #E7C956 #EFDA8C #F6EBC1

Accessibility & contrast

On white

1.63
#E7C956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#E7C956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C956
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C956#FFFFFF#000000##000000
##E7C9561.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC549
Deuteranopia (green-blind)
#E4CF5B
Tritanopia (blue-blind)
#F8BBB0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e7c956;
/* rgb */ color: rgb(231, 201, 86);
/* oklch */ color: oklch(84.0% 0.137 94.6);
Tailwind
colors: {
  custom: {
    50: '#f2d98a',
    500: '#e7c956',
    950: '#000000',
  },
}
SCSS
$custom: #e7c956;
$custom-light: #f2d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c956",
  "rgb": {
    "r": 231,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 47.586,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84002,
    "c": 0.13693,
    "h": 94.6
  },
  "luminance": 0.59434
}

Semantic roles & 50–950 ramp

primary
#E7C956
secondary
#354EAC
accent
#38D70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7C956

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

Preview Lab → · Contrast checker → · Palette generator →

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