#FFEFBB#FFEFBB

#FFEFBB is a very light, moderate yellow. Relative luminance 0.866; OKLCH L 95.2% C 0.069 H 93.0°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#FFEFBB
RGBrgb(255, 239, 187)
HSLhsl(46, 100%, 87%)
HSVhsv(46, 27%, 100%)
CMYKcmyk(0%, 6.3%, 26.7%, 0%)
CIE-LABlab(94.56, -2.36, 27.16)
CIE-LCHlch(94.56, 27.26, 94.97°)
OKLaboklab(95.23% -0.0036 0.0688)
OKLCHoklch(95.23% 0.069 93)
XYZxyz(81.0766, 86.5828, 59.4453)
Luminance0.8658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFBB #BBCBFF
analogous
#FFCDBB #FFEFBB #EDFFBB
triadic
#FFEFBB #BBFFEF #EFBBFF
tetradic
#FFEFBB #BBFFCD #BBCBFF #FFBBED
square
#FFEFBB #BBFFCD #BBCBFF #FFBBED
split-complementary
#FFEFBB #BBEDFF #CDBBFF
monochromatic
#FFD241 #FFE17E #FFEFBB #FFF8E0 #FFF8E0

Accessibility & contrast

On white

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

On black

18.32
#FFEFBB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEFBB
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEFBB#FFFFFF#000000##000000
##FFEFBB1.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAECB8
Deuteranopia (green-blind)
#FFF2BD
Tritanopia (blue-blind)
#FFE7E1
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ffefbb;
/* rgb */ color: rgb(255, 239, 187);
/* oklch */ color: oklch(95.2% 0.069 93.0);
Tailwind
colors: {
  custom: {
    50: '#fff4cf',
    500: '#ffefbb',
    950: '#000000',
  },
}
SCSS
$custom: #ffefbb;
$custom-light: #fff4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefbb",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 187
  },
  "hsl": {
    "h": 45.882,
    "s": 100,
    "l": 86.667
  },
  "oklch": {
    "l": 0.95233,
    "c": 0.06889,
    "h": 93
  },
  "luminance": 0.86581
}

Semantic roles & 50–950 ramp

primary
#FFEFBB
secondary
#7791E7
accent
#36E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFEFBB

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

Preview Lab → · Contrast checker → · Palette generator →

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