#FFEF91#FFEF91

#FFEF91 is a very light, moderate yellow. Relative luminance 0.850; OKLCH L 94.5% C 0.116 H 99.8°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#FFEF91
RGBrgb(255, 239, 145)
HSLhsl(51, 100%, 78%)
HSVhsv(51, 43%, 100%)
CMYKcmyk(0%, 6.3%, 43.1%, 0%)
CIE-LABlab(93.90, -7.16, 47.29)
CIE-LCHlch(93.90, 47.83, 98.61°)
OKLaboklab(94.49% -0.0198 0.1145)
OKLCHoklch(94.49% 0.116 99.8)
XYZxyz(77.2191, 85.0398, 39.1293)
Luminance0.8504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF91 #91A1FF
analogous
#FFB891 #FFEF91 #D8FF91
triadic
#FFEF91 #91FFEF #EF91FF
tetradic
#FFEF91 #91FFB8 #91A1FF #FF91D8
square
#FFEF91 #91FFB8 #91A1FF #FF91D8
split-complementary
#FFEF91 #91D8FF #B891FF
monochromatic
#FFDD17 #FFE654 #FFEF91 #FFF8CE #FFFBE0

Accessibility & contrast

On white

1.17
#FFEF91 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.01
#FFEF91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF91
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF91#FFFFFF#000000##000000
##FFEF911.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA8A
Deuteranopia (green-blind)
#FFF095
Tritanopia (blue-blind)
#FFE3D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ffef91;
/* rgb */ color: rgb(255, 239, 145);
/* oklch */ color: oklch(94.5% 0.116 99.8);
Tailwind
colors: {
  custom: {
    50: '#fff4b2',
    500: '#ffef91',
    950: '#000000',
  },
}
SCSS
$custom: #ffef91;
$custom-light: #fff4b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef91",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 145
  },
  "hsl": {
    "h": 51.273,
    "s": 100,
    "l": 78.431
  },
  "oklch": {
    "l": 0.94495,
    "c": 0.11617,
    "h": 99.8
  },
  "luminance": 0.85037
}

Semantic roles & 50–950 ramp

primary
#FFEF91
secondary
#5368E1
accent
#21E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFEF91

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

Preview Lab → · Contrast checker → · Palette generator →

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