#FFEFB6#FFEFB6

#FFEFB6 is a very light, moderate yellow. Relative luminance 0.864; OKLCH L 95.1% C 0.075 H 94.3°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#FFEFB6
RGBrgb(255, 239, 182)
HSLhsl(47, 100%, 86%)
HSVhsv(47, 29%, 100%)
CMYKcmyk(0%, 6.3%, 28.6%, 0%)
CIE-LABlab(94.47, -3.00, 29.59)
CIE-LCHlch(94.47, 29.74, 95.80°)
OKLaboklab(95.13% -0.0056 0.0746)
OKLCHoklch(95.13% 0.075 94.3)
XYZxyz(80.5507, 86.3724, 56.6752)
Luminance0.8637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFB6 #B6C6FF
analogous
#FFCAB6 #FFEFB6 #EAFFB6
triadic
#FFEFB6 #B6FFEF #EFB6FF
tetradic
#FFEFB6 #B6FFCA #B6C6FF #FFB6EA
square
#FFEFB6 #B6FFCA #B6C6FF #FFB6EA
split-complementary
#FFEFB6 #B6EAFF #CAB6FF
monochromatic
#FFD43C #FFE279 #FFEFB6 #FFF8E0 #FFF8E0

Accessibility & contrast

On white

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

On black

18.27
#FFEFB6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEFB6
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEFB6#FFFFFF#000000##000000
##FFEFB61.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBECB2
Deuteranopia (green-blind)
#FFF1B8
Tritanopia (blue-blind)
#FFE6E0
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ffefb6;
/* rgb */ color: rgb(255, 239, 182);
/* oklch */ color: oklch(95.1% 0.075 94.3);
Tailwind
colors: {
  custom: {
    50: '#fff4cc',
    500: '#ffefb6',
    950: '#000000',
  },
}
SCSS
$custom: #ffefb6;
$custom-light: #fff4cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefb6",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 182
  },
  "hsl": {
    "h": 46.849,
    "s": 100,
    "l": 85.686
  },
  "oklch": {
    "l": 0.95133,
    "c": 0.07478,
    "h": 94.3
  },
  "luminance": 0.8637
}

Semantic roles & 50–950 ramp

primary
#FFEFB6
secondary
#738CE6
accent
#32E600
background
#FFFFFE
surface
#FFFEFA
border
#D7D6D3
text
#181713
muted
#868583

Preview Lab

Preview with #FFEFB6

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

Preview Lab → · Contrast checker → · Palette generator →

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