#E7C456#E7C456

#E7C456 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 83.0% C 0.134 H 91.5°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#E7C456
RGBrgb(231, 196, 86)
HSLhsl(46, 75%, 62%)
HSVhsv(46, 63%, 91%)
CMYKcmyk(0%, 15.2%, 62.8%, 9.4%)
CIE-LABlab(80.26, 0.16, 58.34)
CIE-LCHlch(80.26, 58.34, 89.84°)
OKLaboklab(83% -0.0036 0.1335)
OKLCHoklch(83% 0.134 91.5)
XYZxyz(54.3772, 57.1436, 16.9679)
Luminance0.5714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C456 #5679E7
analogous
#E77B56 #E7C456 #C2E756
triadic
#E7C456 #56E7C4 #C456E7
tetradic
#E7C456 #56E77B #5679E7 #E756C2
square
#E7C456 #56E77B #5679E7 #E756C2
split-complementary
#E7C456 #56C2E7 #7B56E7
monochromatic
#AA8718 #DFB120 #E7C456 #EFD78C #F6E9C1

Accessibility & contrast

On white

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

On black

12.43
#E7C456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C456
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C456#FFFFFF#000000##000000
##E7C4561.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C14A
Deuteranopia (green-blind)
#E0CB5B
Tritanopia (blue-blind)
#F9B5AC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e7c456;
/* rgb */ color: rgb(231, 196, 86);
/* oklch */ color: oklch(83.0% 0.134 91.5);
Tailwind
colors: {
  custom: {
    50: '#f2d58a',
    500: '#e7c456',
    950: '#000000',
  },
}
SCSS
$custom: #e7c456;
$custom-light: #f2d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c456",
  "rgb": {
    "r": 231,
    "g": 196,
    "b": 86
  },
  "hsl": {
    "h": 45.517,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82998,
    "c": 0.13358,
    "h": 91.5
  },
  "luminance": 0.57141
}

Semantic roles & 50–950 ramp

primary
#E7C456
secondary
#3552AC
accent
#3FD70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7C456

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

Preview Lab → · Contrast checker → · Palette generator →

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