#E7C854#E7C854

#E7C854 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.8% C 0.138 H 94.2°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#E7C854
RGBrgb(231, 200, 84)
HSLhsl(47, 75%, 62%)
HSVhsv(47, 64%, 91%)
CMYKcmyk(0%, 13.4%, 63.6%, 9.4%)
CIE-LABlab(81.26, -2.03, 60.30)
CIE-LCHlch(81.26, 60.34, 91.93°)
OKLaboklab(83.78% -0.0101 0.1374)
OKLCHoklch(83.78% 0.138 94.2)
XYZxyz(55.2121, 58.9404, 16.8543)
Luminance0.5894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C854 #5473E7
analogous
#E77F54 #E7C854 #BDE754
triadic
#E7C854 #54E7C8 #C854E7
tetradic
#E7C854 #54E77F #5473E7 #E754BD
square
#E7C854 #54E77F #5473E7 #E754BD
split-complementary
#E7C854 #54BDE7 #7F54E7
monochromatic
#A98A18 #DFB61F #E7C854 #EFD98A #F6EBBF

Accessibility & contrast

On white

1.64
#E7C854 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#E7C854 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C854
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C854#FFFFFF#000000##000000
##E7C8541.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC447
Deuteranopia (green-blind)
#E3CE5A
Tritanopia (blue-blind)
#F9B9AF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e7c854;
/* rgb */ color: rgb(231, 200, 84);
/* oklch */ color: oklch(83.8% 0.138 94.2);
Tailwind
colors: {
  custom: {
    50: '#f2d889',
    500: '#e7c854',
    950: '#000000',
  },
}
SCSS
$custom: #e7c854;
$custom-light: #f2d889;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c854",
  "rgb": {
    "r": 231,
    "g": 200,
    "b": 84
  },
  "hsl": {
    "h": 47.347,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83781,
    "c": 0.13779,
    "h": 94.2
  },
  "luminance": 0.58938
}

Semantic roles & 50–950 ramp

primary
#E7C854
secondary
#354EAA
accent
#38D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7C854

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

Preview Lab → · Contrast checker → · Palette generator →

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