#E5C54F#E5C54F

#E5C54F is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.9% C 0.139 H 93.9°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#E5C54F
RGBrgb(229, 197, 79)
HSLhsl(47, 74%, 60%)
HSVhsv(47, 66%, 90%)
CMYKcmyk(0%, 14%, 65.5%, 10.2%)
CIE-LABlab(80.27, -1.62, 61.33)
CIE-LCHlch(80.27, 61.35, 91.51°)
OKLaboklab(82.94% -0.0094 0.1389)
OKLCHoklch(82.94% 0.139 93.9)
XYZxyz(53.6932, 57.1579, 15.6000)
Luminance0.5716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C54F #4F6FE5
analogous
#E57A4F #E5C54F #BAE54F
triadic
#E5C54F #4FE5C5 #C54FE5
tetradic
#E5C54F #4FE57A #4F6FE5 #E54FBA
square
#E5C54F #4FE57A #4F6FE5 #E54FBA
split-complementary
#E5C54F #4FBAE5 #7A4FE5
monochromatic
#A28418 #D7B020 #E5C54F #EDD784 #F5E8BA

Accessibility & contrast

On white

1.69
#E5C54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#E5C54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C54F
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C54F#FFFFFF#000000##000000
##E5C54F1.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C241
Deuteranopia (green-blind)
#E1CB55
Tritanopia (blue-blind)
#F7B6AC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e5c54f;
/* rgb */ color: rgb(229, 197, 79);
/* oklch */ color: oklch(82.9% 0.139 93.9);
Tailwind
colors: {
  custom: {
    50: '#f1d686',
    500: '#e5c54f',
    950: '#000000',
  },
}
SCSS
$custom: #e5c54f;
$custom-light: #f1d686;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c54f",
  "rgb": {
    "r": 229,
    "g": 197,
    "b": 79
  },
  "hsl": {
    "h": 47.2,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82942,
    "c": 0.13922,
    "h": 93.9
  },
  "luminance": 0.57155
}

Semantic roles & 50–950 ramp

primary
#E5C54F
secondary
#344CA4
accent
#3AD60F
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E5C54F

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

Preview Lab → · Contrast checker → · Palette generator →

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