#E7C954#E7C954

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

Color values

HEX#E7C954
RGBrgb(231, 201, 84)
HSLhsl(48, 75%, 62%)
HSVhsv(48, 64%, 91%)
CMYKcmyk(0%, 13%, 63.6%, 9.4%)
CIE-LABlab(81.51, -2.54, 60.58)
CIE-LCHlch(81.51, 60.63, 92.40°)
OKLaboklab(83.98% -0.0116 0.138)
OKLCHoklch(83.98% 0.138 94.8)
XYZxyz(55.4444, 59.4051, 16.9317)
Luminance0.5940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C954 #5472E7
analogous
#E78054 #E7C954 #BCE754
triadic
#E7C954 #54E7C9 #C954E7
tetradic
#E7C954 #54E780 #5472E7 #E754BC
square
#E7C954 #54E780 #5472E7 #E754BC
split-complementary
#E7C954 #54BCE7 #8054E7
monochromatic
#A98B18 #DFB81F #E7C954 #EFDA8A #F6EBBF

Accessibility & contrast

On white

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

On black

12.88
#E7C954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C954
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C954#FFFFFF#000000##000000
##E7C9541.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7c954;
/* rgb */ color: rgb(231, 201, 84);
/* oklch */ color: oklch(84.0% 0.138 94.8);
Tailwind
colors: {
  custom: {
    50: '#f2d989',
    500: '#e7c954',
    950: '#000000',
  },
}
SCSS
$custom: #e7c954;
$custom-light: #f2d989;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c954",
  "rgb": {
    "r": 231,
    "g": 201,
    "b": 84
  },
  "hsl": {
    "h": 47.755,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83983,
    "c": 0.13849,
    "h": 94.8
  },
  "luminance": 0.59402
}

Semantic roles & 50–950 ramp

primary
#E7C954
secondary
#354DAA
accent
#37D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7C954

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

Preview Lab → · Contrast checker → · Palette generator →

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