#E7C24A#E7C24A

#E7C24A is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.5% C 0.141 H 91.6°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#E7C24A
RGBrgb(231, 194, 74)
HSLhsl(46, 77%, 60%)
HSVhsv(46, 68%, 91%)
CMYKcmyk(0%, 16%, 68%, 9.4%)
CIE-LABlab(79.65, 0.50, 62.83)
CIE-LCHlch(79.65, 62.83, 89.55°)
OKLaboklab(82.49% -0.004 0.1412)
OKLCHoklch(82.49% 0.141 91.6)
XYZxyz(53.4856, 56.0700, 14.4826)
Luminance0.5607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C24A #4A6FE7
analogous
#E7744A #E7C24A #BDE74A
triadic
#E7C24A #4AE7C2 #C24AE7
tetradic
#E7C24A #4AE774 #4A6FE7 #E74ABD
square
#E7C24A #4AE774 #4A6FE7 #E74ABD
split-complementary
#E7C24A #4ABDE7 #744AE7
monochromatic
#A18015 #D7AB1D #E7C24A #EED480 #F5E6B6

Accessibility & contrast

On white

1.72
#E7C24A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#E7C24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C24A
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C24A#FFFFFF#000000##000000
##E7C24A1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3A
Deuteranopia (green-blind)
#E0CA50
Tritanopia (blue-blind)
#F9B3A9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e7c24a;
/* rgb */ color: rgb(231, 194, 74);
/* oklch */ color: oklch(82.5% 0.141 91.6);
Tailwind
colors: {
  custom: {
    50: '#f3d482',
    500: '#e7c24a',
    950: '#000000',
  },
}
SCSS
$custom: #e7c24a;
$custom-light: #f3d482;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c24a",
  "rgb": {
    "r": 231,
    "g": 194,
    "b": 74
  },
  "hsl": {
    "h": 45.86,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82488,
    "c": 0.14127,
    "h": 91.6
  },
  "luminance": 0.56067
}

Semantic roles & 50–950 ramp

primary
#E7C24A
secondary
#314CA4
accent
#62F335
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E7C24A

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

Preview Lab → · Contrast checker → · Palette generator →

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