#FFEF9D#FFEF9D

#FFEF9D is a very light, moderate yellow. Relative luminance 0.854; OKLCH L 94.7% C 0.103 H 98.5°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#FFEF9D
RGBrgb(255, 239, 157)
HSLhsl(50, 100%, 81%)
HSVhsv(50, 38%, 100%)
CMYKcmyk(0%, 6.3%, 38.4%, 0%)
CIE-LABlab(94.07, -5.93, 41.62)
CIE-LCHlch(94.07, 42.04, 98.10°)
OKLaboklab(94.68% -0.0153 0.1022)
OKLCHoklch(94.68% 0.103 98.5)
XYZxyz(78.1938, 85.4296, 44.2623)
Luminance0.8543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF9D #9DADFF
analogous
#FFBE9D #FFEF9D #DEFF9D
triadic
#FFEF9D #9DFFEF #EF9DFF
tetradic
#FFEF9D #9DFFBE #9DADFF #FF9DDE
square
#FFEF9D #9DFFBE #9DADFF #FF9DDE
split-complementary
#FFEF9D #9DDEFF #BE9DFF
monochromatic
#FFDB23 #FFE560 #FFEF9D #FFF9DA #FFFAE0

Accessibility & contrast

On white

1.16
#FFEF9D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.09
#FFEF9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF9D
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF9D#FFFFFF#000000##000000
##FFEF9D1.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEA97
Deuteranopia (green-blind)
#FFF1A0
Tritanopia (blue-blind)
#FFE4DA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ffef9d;
/* rgb */ color: rgb(255, 239, 157);
/* oklch */ color: oklch(94.7% 0.103 98.5);
Tailwind
colors: {
  custom: {
    50: '#fff4bb',
    500: '#ffef9d',
    950: '#000000',
  },
}
SCSS
$custom: #ffef9d;
$custom-light: #fff4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef9d",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 157
  },
  "hsl": {
    "h": 50.204,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.94682,
    "c": 0.10329,
    "h": 98.5
  },
  "luminance": 0.85427
}

Semantic roles & 50–950 ramp

primary
#FFEF9D
secondary
#5E73E3
accent
#25E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFEF9D

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

Preview Lab → · Contrast checker → · Palette generator →

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