#FFE54A#FFE54A

#FFE54A is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.7% C 0.168 H 99.5°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#FFE54A
RGBrgb(255, 229, 74)
HSLhsl(51, 100%, 65%)
HSVhsv(51, 71%, 100%)
CMYKcmyk(0%, 10.2%, 71%, 0%)
CIE-LABlab(90.69, -7.25, 74.63)
CIE-LCHlch(90.69, 74.98, 95.55°)
OKLaboklab(91.73% -0.0275 0.1653)
OKLCHoklch(91.73% 0.168 99.5)
XYZxyz(70.4987, 77.7964, 17.7800)
Luminance0.7779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE54A #4A64FF
analogous
#FF8A4A #FFE54A #BFFF4A
triadic
#FFE54A #4AFFE5 #E54AFF
tetradic
#FFE54A #4AFF8A #4A64FF #FF4ABF
square
#FFE54A #4AFF8A #4A64FF #FF4ABF
split-complementary
#FFE54A #4ABFFF #8A4AFF
monochromatic
#CFB100 #FFDC0D #FFE54A #FFEE87 #FFF7C4

Accessibility & contrast

On white

1.27
#FFE54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.56
#FFE54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE54A
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE54A#FFFFFF#000000##000000
##FFE54A1.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBDF31
Deuteranopia (green-blind)
#FFE854
Tritanopia (blue-blind)
#FFD4C6
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ffe54a;
/* rgb */ color: rgb(255, 229, 74);
/* oklch */ color: oklch(91.7% 0.168 99.5);
Tailwind
colors: {
  custom: {
    50: '#ffec86',
    500: '#ffe54a',
    950: '#000000',
  },
}
SCSS
$custom: #ffe54a;
$custom-light: #ffec86;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe54a",
  "rgb": {
    "r": 255,
    "g": 229,
    "b": 74
  },
  "hsl": {
    "h": 51.381,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91726,
    "c": 0.16762,
    "h": 99.5
  },
  "luminance": 0.77793
}

Semantic roles & 50–950 ramp

primary
#FFE54A
secondary
#243BCA
accent
#21E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#19160C
muted
#87847F

Preview Lab

Preview with #FFE54A

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

Preview Lab → · Contrast checker → · Palette generator →

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