#FFEFB5#FFEFB5

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

Color values

HEX#FFEFB5
RGBrgb(255, 239, 181)
HSLhsl(47, 100%, 85%)
HSVhsv(47, 29%, 100%)
CMYKcmyk(0%, 6.3%, 29%, 0%)
CIE-LABlab(94.45, -3.13, 30.07)
CIE-LCHlch(94.45, 30.23, 95.94°)
OKLaboklab(95.11% -0.006 0.0757)
OKLCHoklch(95.11% 0.076 94.5)
XYZxyz(80.4477, 86.3312, 56.1329)
Luminance0.8633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFB5 #B5C5FF
analogous
#FFCAB5 #FFEFB5 #EAFFB5
triadic
#FFEFB5 #B5FFEF #EFB5FF
tetradic
#FFEFB5 #B5FFCA #B5C5FF #FFB5EA
square
#FFEFB5 #B5FFCA #B5C5FF #FFB5EA
split-complementary
#FFEFB5 #B5EAFF #CAB5FF
monochromatic
#FFD53B #FFE278 #FFEFB5 #FFF8E0 #FFF8E0

Accessibility & contrast

On white

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

On black

18.27
#FFEFB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEFB5
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEFB5#FFFFFF#000000##000000
##FFEFB51.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBECB1
Deuteranopia (green-blind)
#FFF1B7
Tritanopia (blue-blind)
#FFE6E0
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ffefb5;
/* rgb */ color: rgb(255, 239, 181);
/* oklch */ color: oklch(95.1% 0.076 94.5);
Tailwind
colors: {
  custom: {
    50: '#fff4cb',
    500: '#ffefb5',
    950: '#000000',
  },
}
SCSS
$custom: #ffefb5;
$custom-light: #fff4cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefb5",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 181
  },
  "hsl": {
    "h": 47.027,
    "s": 100,
    "l": 85.49
  },
  "oklch": {
    "l": 0.95113,
    "c": 0.07595,
    "h": 94.5
  },
  "luminance": 0.86329
}

Semantic roles & 50–950 ramp

primary
#FFEFB5
secondary
#728BE6
accent
#32E600
background
#FFFFFE
surface
#FFFEFA
border
#D7D6D3
text
#181713
muted
#868583

Preview Lab

Preview with #FFEFB5

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

Preview Lab → · Contrast checker → · Palette generator →

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