#FFEFBC#FFEFBC

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

Color values

HEX#FFEFBC
RGBrgb(255, 239, 188)
HSLhsl(46, 100%, 87%)
HSVhsv(46, 26%, 100%)
CMYKcmyk(0%, 6.3%, 26.3%, 0%)
CIE-LABlab(94.58, -2.23, 26.68)
CIE-LCHlch(94.58, 26.77, 94.78°)
OKLaboklab(95.25% -0.0032 0.0676)
OKLCHoklch(95.25% 0.068 92.7)
XYZxyz(81.1840, 86.6258, 60.0110)
Luminance0.8662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFBC #BCCCFF
analogous
#FFCEBC #FFEFBC #EDFFBC
triadic
#FFEFBC #BCFFEF #EFBCFF
tetradic
#FFEFBC #BCFFCE #BCCCFF #FFBCED
square
#FFEFBC #BCFFCE #BCCCFF #FFBCED
split-complementary
#FFEFBC #BCEDFF #CEBCFF
monochromatic
#FFD242 #FFE07F #FFEFBC #FFF8E0 #FFF8E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFEFBC#FFFFFF#000000##000000
##FFEFBC1.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)
#FAEDB9
Deuteranopia (green-blind)
#FFF2BE
Tritanopia (blue-blind)
#FFE7E1
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ffefbc;
/* rgb */ color: rgb(255, 239, 188);
/* oklch */ color: oklch(95.3% 0.068 92.7);
Tailwind
colors: {
  custom: {
    50: '#fff4d0',
    500: '#ffefbc',
    950: '#000000',
  },
}
SCSS
$custom: #ffefbc;
$custom-light: #fff4d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefbc",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 188
  },
  "hsl": {
    "h": 45.672,
    "s": 100,
    "l": 86.863
  },
  "oklch": {
    "l": 0.95253,
    "c": 0.06771,
    "h": 92.7
  },
  "luminance": 0.86624
}

Semantic roles & 50–950 ramp

primary
#FFEFBC
secondary
#7893E7
accent
#37E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFEFBC

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

Preview Lab → · Contrast checker → · Palette generator →

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