#FFEF5A#FFEF5A

#FFEF5A is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.9% C 0.165 H 103.2°. Best body text is #000000 at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#FFEF5A
RGBrgb(255, 239, 90)
HSLhsl(54, 100%, 68%)
HSVhsv(54, 65%, 100%)
CMYKcmyk(0%, 6.3%, 64.7%, 0%)
CIE-LABlab(93.33, -11.39, 71.26)
CIE-LCHlch(93.33, 72.16, 99.08°)
OKLaboklab(93.86% -0.0376 0.1609)
OKLCHoklch(93.86% 0.165 103.2)
XYZxyz(73.9549, 83.7341, 21.9376)
Luminance0.8373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF5A #5A6AFF
analogous
#FF9D5A #FFEF5A #BCFF5A
triadic
#FFEF5A #5AFFEF #EF5AFF
tetradic
#FFEF5A #5AFF9D #5A6AFF #FF5ABC
square
#FFEF5A #5AFF9D #5A6AFF #FF5ABC
split-complementary
#FFEF5A #5ABCFF #9D5AFF
monochromatic
#DFC900 #FFE91D #FFEF5A #FFF597 #FFFBD4

Accessibility & contrast

On white

1.18
#FFEF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.75
#FFEF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF5A
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF5A#FFFFFF#000000##000000
##FFEF5A1.001.1817.7517.75
#FFFFFF1.181.0021.0021.00
#00000017.7521.001.001.00
##00000017.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE847
Deuteranopia (green-blind)
#FFEF63
Tritanopia (blue-blind)
#FFDFD0
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ffef5a;
/* rgb */ color: rgb(255, 239, 90);
/* oklch */ color: oklch(93.9% 0.165 103.2);
Tailwind
colors: {
  custom: {
    50: '#fff38f',
    500: '#ffef5a',
    950: '#000000',
  },
}
SCSS
$custom: #ffef5a;
$custom-light: #fff38f;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef5a",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 90
  },
  "hsl": {
    "h": 54.182,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.93864,
    "c": 0.16519,
    "h": 103.2
  },
  "luminance": 0.83731
}

Semantic roles & 50–950 ramp

primary
#FFEF5A
secondary
#2637D7
accent
#16E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFEF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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