#E7C54A#E7C54A

#E7C54A is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 83.1% C 0.143 H 93.4°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#E7C54A
RGBrgb(231, 197, 74)
HSLhsl(47, 77%, 60%)
HSVhsv(47, 68%, 91%)
CMYKcmyk(0%, 14.7%, 68%, 9.4%)
CIE-LABlab(80.41, -1.06, 63.61)
CIE-LCHlch(80.41, 63.62, 90.95°)
OKLaboklab(83.09% -0.0085 0.1429)
OKLCHoklch(83.09% 0.143 93.4)
XYZxyz(54.1600, 57.4188, 14.7075)
Luminance0.5742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C54A #4A6CE7
analogous
#E7764A #E7C54A #BBE74A
triadic
#E7C54A #4AE7C5 #C54AE7
tetradic
#E7C54A #4AE776 #4A6CE7 #E74ABB
square
#E7C54A #4AE776 #4A6CE7 #E74ABB
split-complementary
#E7C54A #4ABBE7 #764AE7
monochromatic
#A18315 #D7AF1D #E7C54A #EED680 #F5E8B6

Accessibility & contrast

On white

1.68
#E7C54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#E7C54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C54A
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C54A#FFFFFF#000000##000000
##E7C54A1.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23A
Deuteranopia (green-blind)
#E2CC50
Tritanopia (blue-blind)
#F9B6AC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e7c54a;
/* rgb */ color: rgb(231, 197, 74);
/* oklch */ color: oklch(83.1% 0.143 93.4);
Tailwind
colors: {
  custom: {
    50: '#f2d683',
    500: '#e7c54a',
    950: '#000000',
  },
}
SCSS
$custom: #e7c54a;
$custom-light: #f2d683;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c54a",
  "rgb": {
    "r": 231,
    "g": 197,
    "b": 74
  },
  "hsl": {
    "h": 47.006,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83088,
    "c": 0.14312,
    "h": 93.4
  },
  "luminance": 0.57416
}

Semantic roles & 50–950 ramp

primary
#E7C54A
secondary
#314AA4
accent
#5EF335
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E7C54A

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

Preview Lab → · Contrast checker → · Palette generator →

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