#FFE54F#FFE54F

#FFE54F is a very light, vivid yellow. Relative luminance 0.779; OKLCH L 91.8% C 0.165 H 99.2°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#FFE54F
RGBrgb(255, 229, 79)
HSLhsl(51, 100%, 65%)
HSVhsv(51, 69%, 100%)
CMYKcmyk(0%, 10.2%, 69%, 0%)
CIE-LABlab(90.72, -7.02, 72.82)
CIE-LCHlch(90.72, 73.16, 95.50°)
OKLaboklab(91.76% -0.0264 0.1624)
OKLCHoklch(91.76% 0.165 99.2)
XYZxyz(70.6739, 77.8665, 18.7027)
Luminance0.7786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE54F #4F69FF
analogous
#FF8D4F #FFE54F #C1FF4F
triadic
#FFE54F #4FFFE5 #E54FFF
tetradic
#FFE54F #4FFF8D #4F69FF #FF4FC1
square
#FFE54F #4FFF8D #4F69FF #FF4FC1
split-complementary
#FFE54F #4FC1FF #8D4FFF
monochromatic
#D4B400 #FFDC12 #FFE54F #FFEE8C #FFF7C9

Accessibility & contrast

On white

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

On black

16.57
#FFE54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE54F
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE54F#FFFFFF#000000##000000
##FFE54F1.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBDF39
Deuteranopia (green-blind)
#FFE858
Tritanopia (blue-blind)
#FFD5C7
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ffe54f;
/* rgb */ color: rgb(255, 229, 79);
/* oklch */ color: oklch(91.8% 0.165 99.2);
Tailwind
colors: {
  custom: {
    50: '#ffec89',
    500: '#ffe54f',
    950: '#000000',
  },
}
SCSS
$custom: #ffe54f;
$custom-light: #ffec89;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe54f",
  "rgb": {
    "r": 255,
    "g": 229,
    "b": 79
  },
  "hsl": {
    "h": 51.136,
    "s": 100,
    "l": 65.49
  },
  "oklch": {
    "l": 0.91762,
    "c": 0.16452,
    "h": 99.2
  },
  "luminance": 0.77863
}

Semantic roles & 50–950 ramp

primary
#FFE54F
secondary
#243DCE
accent
#22E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#19160C
muted
#87847F

Preview Lab

Preview with #FFE54F

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

Preview Lab → · Contrast checker → · Palette generator →

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