#FFEFB2#FFEFB2

#FFEFB2 is a very light, moderate yellow. Relative luminance 0.862; OKLCH L 95.1% C 0.079 H 95.2°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#FFEFB2
RGBrgb(255, 239, 178)
HSLhsl(48, 100%, 85%)
HSVhsv(48, 30%, 100%)
CMYKcmyk(0%, 6.3%, 30.2%, 0%)
CIE-LABlab(94.40, -3.50, 31.52)
CIE-LCHlch(94.40, 31.72, 96.34°)
OKLaboklab(95.06% -0.0071 0.0791)
OKLCHoklch(95.06% 0.079 95.2)
XYZxyz(80.1432, 86.2094, 54.5292)
Luminance0.8621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFB2 #B2C2FF
analogous
#FFC8B2 #FFEFB2 #E9FFB2
triadic
#FFEFB2 #B2FFEF #EFB2FF
tetradic
#FFEFB2 #B2FFC8 #B2C2FF #FFB2E9
square
#FFEFB2 #B2FFC8 #B2C2FF #FFB2E9
split-complementary
#FFEFB2 #B2E9FF #C8B2FF
monochromatic
#FFD638 #FFE275 #FFEFB2 #FFF9E0 #FFF9E0

Accessibility & contrast

On white

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

On black

18.24
#FFEFB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEFB2
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEFB2#FFFFFF#000000##000000
##FFEFB21.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffefb2;
/* rgb */ color: rgb(255, 239, 178);
/* oklch */ color: oklch(95.1% 0.079 95.2);
Tailwind
colors: {
  custom: {
    50: '#fff4c9',
    500: '#ffefb2',
    950: '#000000',
  },
}
SCSS
$custom: #ffefb2;
$custom-light: #fff4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefb2",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 178
  },
  "hsl": {
    "h": 47.532,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.95055,
    "c": 0.07945,
    "h": 95.2
  },
  "luminance": 0.86207
}

Semantic roles & 50–950 ramp

primary
#FFEFB2
secondary
#7088E6
accent
#30E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FFEFB2

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

Preview Lab → · Contrast checker → · Palette generator →

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