#FFEFB8#FFEFB8

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

Color values

HEX#FFEFB8
RGBrgb(255, 239, 184)
HSLhsl(46, 100%, 86%)
HSVhsv(46, 28%, 100%)
CMYKcmyk(0%, 6.3%, 27.8%, 0%)
CIE-LABlab(94.51, -2.75, 28.62)
CIE-LCHlch(94.51, 28.75, 95.49°)
OKLaboklab(95.17% -0.0048 0.0723)
OKLCHoklch(95.17% 0.072 93.8)
XYZxyz(80.7588, 86.4557, 57.7715)
Luminance0.8645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFB8 #B8C8FF
analogous
#FFCBB8 #FFEFB8 #EBFFB8
triadic
#FFEFB8 #B8FFEF #EFB8FF
tetradic
#FFEFB8 #B8FFCB #B8C8FF #FFB8EB
square
#FFEFB8 #B8FFCB #B8C8FF #FFB8EB
split-complementary
#FFEFB8 #B8EBFF #CBB8FF
monochromatic
#FFD33E #FFE17B #FFEFB8 #FFF8E0 #FFF8E0

Accessibility & contrast

On white

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

On black

18.29
#FFEFB8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEFB8
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEFB8#FFFFFF#000000##000000
##FFEFB81.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBECB4
Deuteranopia (green-blind)
#FFF1BA
Tritanopia (blue-blind)
#FFE7E0
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ffefb8;
/* rgb */ color: rgb(255, 239, 184);
/* oklch */ color: oklch(95.2% 0.072 93.8);
Tailwind
colors: {
  custom: {
    50: '#fff4cd',
    500: '#ffefb8',
    950: '#000000',
  },
}
SCSS
$custom: #ffefb8;
$custom-light: #fff4cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefb8",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 184
  },
  "hsl": {
    "h": 46.479,
    "s": 100,
    "l": 86.078
  },
  "oklch": {
    "l": 0.95172,
    "c": 0.07243,
    "h": 93.8
  },
  "luminance": 0.86454
}

Semantic roles & 50–950 ramp

primary
#FFEFB8
secondary
#758EE7
accent
#34E600
background
#FFFFFE
surface
#FFFEFA
border
#D7D6D3
text
#181713
muted
#868583

Preview Lab

Preview with #FFEFB8

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

Preview Lab → · Contrast checker → · Palette generator →

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