#E7C24F#E7C24F

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

Color values

HEX#E7C24F
RGBrgb(231, 194, 79)
HSLhsl(45, 76%, 61%)
HSVhsv(45, 66%, 91%)
CMYKcmyk(0%, 16%, 65.8%, 9.4%)
CIE-LABlab(79.69, 0.77, 60.77)
CIE-LCHlch(79.69, 60.78, 89.27°)
OKLaboklab(82.53% -0.0027 0.1377)
OKLCHoklch(82.53% 0.138 91.1)
XYZxyz(53.6608, 56.1401, 15.4053)
Luminance0.5614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C24F #4F74E7
analogous
#E7764F #E7C24F #C0E74F
triadic
#E7C24F #4FE7C2 #C24FE7
tetradic
#E7C24F #4FE776 #4F74E7 #E74FC0
square
#E7C24F #4FE776 #4F74E7 #E74FC0
split-complementary
#E7C24F #4FC0E7 #764FE7
monochromatic
#A58217 #DBAD1E #E7C24F #EED585 #F6E7BB

Accessibility & contrast

On white

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

On black

12.23
#E7C24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C24F
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C24F#FFFFFF#000000##000000
##E7C24F1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF41
Deuteranopia (green-blind)
#DFCA54
Tritanopia (blue-blind)
#F9B3AA
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e7c24f;
/* rgb */ color: rgb(231, 194, 79);
/* oklch */ color: oklch(82.5% 0.138 91.1);
Tailwind
colors: {
  custom: {
    50: '#f2d485',
    500: '#e7c24f',
    950: '#000000',
  },
}
SCSS
$custom: #e7c24f;
$custom-light: #f2d485;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c24f",
  "rgb": {
    "r": 231,
    "g": 194,
    "b": 79
  },
  "hsl": {
    "h": 45.395,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82532,
    "c": 0.13769,
    "h": 91.1
  },
  "luminance": 0.56137
}

Semantic roles & 50–950 ramp

primary
#E7C24F
secondary
#334FA7
accent
#3FD80D
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E7C24F

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

Preview Lab → · Contrast checker → · Palette generator →

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