#FFEFBA#FFEFBA

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

Color values

HEX#FFEFBA
RGBrgb(255, 239, 186)
HSLhsl(46, 100%, 86%)
HSVhsv(46, 27%, 100%)
CMYKcmyk(0%, 6.3%, 27.1%, 0%)
CIE-LABlab(94.54, -2.49, 27.65)
CIE-LCHlch(94.54, 27.76, 95.15°)
OKLaboklab(95.21% -0.004 0.07)
OKLCHoklch(95.21% 0.07 93.3)
XYZxyz(80.9699, 86.5401, 58.8834)
Luminance0.8654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFBA #BACAFF
analogous
#FFCDBA #FFEFBA #EDFFBA
triadic
#FFEFBA #BAFFEF #EFBAFF
tetradic
#FFEFBA #BAFFCD #BACAFF #FFBAED
square
#FFEFBA #BAFFCD #BACAFF #FFBAED
split-complementary
#FFEFBA #BAEDFF #CDBAFF
monochromatic
#FFD340 #FFE17D #FFEFBA #FFF8E0 #FFF8E0

Accessibility & contrast

On white

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

On black

18.31
#FFEFBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEFBA
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEFBA#FFFFFF#000000##000000
##FFEFBA1.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffefba;
/* rgb */ color: rgb(255, 239, 186);
/* oklch */ color: oklch(95.2% 0.070 93.3);
Tailwind
colors: {
  custom: {
    50: '#fff4cf',
    500: '#ffefba',
    950: '#000000',
  },
}
SCSS
$custom: #ffefba;
$custom-light: #fff4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefba",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 186
  },
  "hsl": {
    "h": 46.087,
    "s": 100,
    "l": 86.471
  },
  "oklch": {
    "l": 0.95213,
    "c": 0.07007,
    "h": 93.3
  },
  "luminance": 0.86538
}

Semantic roles & 50–950 ramp

primary
#FFEFBA
secondary
#7690E7
accent
#35E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181713
muted
#868583

Preview Lab

Preview with #FFEFBA

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

Preview Lab → · Contrast checker → · Palette generator →

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