#FFEF92#FFEF92

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

Color values

HEX#FFEF92
RGBrgb(255, 239, 146)
HSLhsl(51, 100%, 79%)
HSVhsv(51, 43%, 100%)
CMYKcmyk(0%, 6.3%, 42.7%, 0%)
CIE-LABlab(93.91, -7.06, 46.82)
CIE-LCHlch(93.91, 47.35, 98.57°)
OKLaboklab(94.51% -0.0194 0.1135)
OKLCHoklch(94.51% 0.115 99.7)
XYZxyz(77.2966, 85.0708, 39.5372)
Luminance0.8507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF92 #92A2FF
analogous
#FFB892 #FFEF92 #D8FF92
triadic
#FFEF92 #92FFEF #EF92FF
tetradic
#FFEF92 #92FFB8 #92A2FF #FF92D8
square
#FFEF92 #92FFB8 #92A2FF #FF92D8
split-complementary
#FFEF92 #92D8FF #B892FF
monochromatic
#FFDD18 #FFE655 #FFEF92 #FFF8CF #FFFBE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFEF92#FFFFFF#000000##000000
##FFEF921.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)
#FFEA8B
Deuteranopia (green-blind)
#FFF096
Tritanopia (blue-blind)
#FFE3D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ffef92;
/* rgb */ color: rgb(255, 239, 146);
/* oklch */ color: oklch(94.5% 0.115 99.7);
Tailwind
colors: {
  custom: {
    50: '#fff4b3',
    500: '#ffef92',
    950: '#000000',
  },
}
SCSS
$custom: #ffef92;
$custom-light: #fff4b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef92",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 146
  },
  "hsl": {
    "h": 51.193,
    "s": 100,
    "l": 78.627
  },
  "oklch": {
    "l": 0.9451,
    "c": 0.11512,
    "h": 99.7
  },
  "luminance": 0.85068
}

Semantic roles & 50–950 ramp

primary
#FFEF92
secondary
#5469E1
accent
#22E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFEF92

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

Preview Lab → · Contrast checker → · Palette generator →

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