#FFEFB1#FFEFB1

#FFEFB1 is a very light, moderate yellow. Relative luminance 0.862; OKLCH L 95.0% C 0.081 H 95.4°. Best body text is #000000 at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#FFEFB1
RGBrgb(255, 239, 177)
HSLhsl(48, 100%, 85%)
HSVhsv(48, 31%, 100%)
CMYKcmyk(0%, 6.3%, 30.6%, 0%)
CIE-LABlab(94.38, -3.63, 32.01)
CIE-LCHlch(94.38, 32.21, 96.46°)
OKLaboklab(95.04% -0.0075 0.0803)
OKLCHoklch(95.04% 0.081 95.4)
XYZxyz(80.0431, 86.1694, 54.0023)
Luminance0.8617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFB1 #B1C1FF
analogous
#FFC8B1 #FFEFB1 #E8FFB1
triadic
#FFEFB1 #B1FFEF #EFB1FF
tetradic
#FFEFB1 #B1FFC8 #B1C1FF #FFB1E8
square
#FFEFB1 #B1FFC8 #B1C1FF #FFB1E8
split-complementary
#FFEFB1 #B1E8FF #C8B1FF
monochromatic
#FFD637 #FFE274 #FFEFB1 #FFF9E0 #FFF9E0

Accessibility & contrast

On white

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

On black

18.23
#FFEFB1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEFB1
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEFB1#FFFFFF#000000##000000
##FFEFB11.001.1518.2318.23
#FFFFFF1.151.0021.0021.00
#00000018.2321.001.001.00
##00000018.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCECAD
Deuteranopia (green-blind)
#FFF1B3
Tritanopia (blue-blind)
#FFE6DF
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ffefb1;
/* rgb */ color: rgb(255, 239, 177);
/* oklch */ color: oklch(95.0% 0.081 95.4);
Tailwind
colors: {
  custom: {
    50: '#fff4c8',
    500: '#ffefb1',
    950: '#000000',
  },
}
SCSS
$custom: #ffefb1;
$custom-light: #fff4c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefb1",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 177
  },
  "hsl": {
    "h": 47.692,
    "s": 100,
    "l": 84.706
  },
  "oklch": {
    "l": 0.95036,
    "c": 0.08062,
    "h": 95.4
  },
  "luminance": 0.86167
}

Semantic roles & 50–950 ramp

primary
#FFEFB1
secondary
#6F87E6
accent
#2FE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FFEFB1

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

Preview Lab → · Contrast checker → · Palette generator →

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