#FFEF5F#FFEF5F

#FFEF5F is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.9% C 0.162 H 103.0°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#FFEF5F
RGBrgb(255, 239, 95)
HSLhsl(54, 100%, 69%)
HSVhsv(54, 63%, 100%)
CMYKcmyk(0%, 6.3%, 62.7%, 0%)
CIE-LABlab(93.37, -11.10, 69.30)
CIE-LCHlch(93.37, 70.18, 99.10°)
OKLaboklab(93.91% -0.0363 0.1574)
OKLCHoklch(93.91% 0.162 103)
XYZxyz(74.1749, 83.8221, 23.0964)
Luminance0.8382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF5F #5F6FFF
analogous
#FF9F5F #FFEF5F #BFFF5F
triadic
#FFEF5F #5FFFEF #EF5FFF
tetradic
#FFEF5F #5FFF9F #5F6FFF #FF5FBF
square
#FFEF5F #5FFF9F #5F6FFF #FF5FBF
split-complementary
#FFEF5F #5FBFFF #9F5FFF
monochromatic
#E4CD00 #FFE922 #FFEF5F #FFF59C #FFFBD9

Accessibility & contrast

On white

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

On black

17.76
#FFEF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF5F
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF5F#FFFFFF#000000##000000
##FFEF5F1.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE84D
Deuteranopia (green-blind)
#FFEF67
Tritanopia (blue-blind)
#FFE0D1
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ffef5f;
/* rgb */ color: rgb(255, 239, 95);
/* oklch */ color: oklch(93.9% 0.162 103.0);
Tailwind
colors: {
  custom: {
    50: '#fff392',
    500: '#ffef5f',
    950: '#000000',
  },
}
SCSS
$custom: #ffef5f;
$custom-light: #fff392;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef5f",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 95
  },
  "hsl": {
    "h": 54,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.93906,
    "c": 0.16155,
    "h": 103
  },
  "luminance": 0.83819
}

Semantic roles & 50–950 ramp

primary
#FFEF5F
secondary
#293BD9
accent
#17E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFEF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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