#FFEFB4#FFEFB4

#FFEFB4 is a very light, moderate yellow. Relative luminance 0.863; OKLCH L 95.1% C 0.077 H 94.7°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#FFEFB4
RGBrgb(255, 239, 180)
HSLhsl(47, 100%, 85%)
HSVhsv(47, 29%, 100%)
CMYKcmyk(0%, 6.3%, 29.4%, 0%)
CIE-LABlab(94.44, -3.25, 30.55)
CIE-LCHlch(94.44, 30.73, 96.08°)
OKLaboklab(95.09% -0.0064 0.0769)
OKLCHoklch(95.09% 0.077 94.7)
XYZxyz(80.3454, 86.2903, 55.5945)
Luminance0.8629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFB4 #B4C4FF
analogous
#FFC9B4 #FFEFB4 #E9FFB4
triadic
#FFEFB4 #B4FFEF #EFB4FF
tetradic
#FFEFB4 #B4FFC9 #B4C4FF #FFB4E9
square
#FFEFB4 #B4FFC9 #B4C4FF #FFB4E9
split-complementary
#FFEFB4 #B4E9FF #C9B4FF
monochromatic
#FFD53A #FFE277 #FFEFB4 #FFF8E0 #FFF8E0

Accessibility & contrast

On white

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

On black

18.26
#FFEFB4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEFB4
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEFB4#FFFFFF#000000##000000
##FFEFB41.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffefb4;
/* rgb */ color: rgb(255, 239, 180);
/* oklch */ color: oklch(95.1% 0.077 94.7);
Tailwind
colors: {
  custom: {
    50: '#fff4ca',
    500: '#ffefb4',
    950: '#000000',
  },
}
SCSS
$custom: #ffefb4;
$custom-light: #fff4ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefb4",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 180
  },
  "hsl": {
    "h": 47.2,
    "s": 100,
    "l": 85.294
  },
  "oklch": {
    "l": 0.95094,
    "c": 0.07712,
    "h": 94.7
  },
  "luminance": 0.86288
}

Semantic roles & 50–950 ramp

primary
#FFEFB4
secondary
#718AE6
accent
#31E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FFEFB4

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

Preview Lab → · Contrast checker → · Palette generator →

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