#FFEFB9#FFEFB9

#FFEFB9 is a very light, moderate yellow. Relative luminance 0.865; OKLCH L 95.2% C 0.071 H 93.5°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#FFEFB9
RGBrgb(255, 239, 185)
HSLhsl(46, 100%, 86%)
HSVhsv(46, 27%, 100%)
CMYKcmyk(0%, 6.3%, 27.5%, 0%)
CIE-LABlab(94.52, -2.62, 28.13)
CIE-LCHlch(94.52, 28.25, 95.32°)
OKLaboklab(95.19% -0.0044 0.0711)
OKLCHoklch(95.19% 0.071 93.5)
XYZxyz(80.8640, 86.4977, 58.3255)
Luminance0.8650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFB9 #B9C9FF
analogous
#FFCCB9 #FFEFB9 #ECFFB9
triadic
#FFEFB9 #B9FFEF #EFB9FF
tetradic
#FFEFB9 #B9FFCC #B9C9FF #FFB9EC
square
#FFEFB9 #B9FFCC #B9C9FF #FFB9EC
split-complementary
#FFEFB9 #B9ECFF #CCB9FF
monochromatic
#FFD33F #FFE17C #FFEFB9 #FFF8E0 #FFF8E0

Accessibility & contrast

On white

1.15
#FFEFB9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.30
#FFEFB9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEFB9
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEFB9#FFFFFF#000000##000000
##FFEFB91.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBECB6
Deuteranopia (green-blind)
#FFF1BB
Tritanopia (blue-blind)
#FFE7E0
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ffefb9;
/* rgb */ color: rgb(255, 239, 185);
/* oklch */ color: oklch(95.2% 0.071 93.5);
Tailwind
colors: {
  custom: {
    50: '#fff4ce',
    500: '#ffefb9',
    950: '#000000',
  },
}
SCSS
$custom: #ffefb9;
$custom-light: #fff4ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefb9",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 185
  },
  "hsl": {
    "h": 46.286,
    "s": 100,
    "l": 86.275
  },
  "oklch": {
    "l": 0.95192,
    "c": 0.07126,
    "h": 93.5
  },
  "luminance": 0.86496
}

Semantic roles & 50–950 ramp

primary
#FFEFB9
secondary
#758FE7
accent
#34E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181713
muted
#868583

Preview Lab

Preview with #FFEFB9

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

Preview Lab → · Contrast checker → · Palette generator →

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