#FFEFAD#FFEFAD

#FFEFAD is a very light, moderate yellow. Relative luminance 0.860; OKLCH L 95.0% C 0.085 H 96.1°. Best body text is #000000 at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#FFEFAD
RGBrgb(255, 239, 173)
HSLhsl(48, 100%, 84%)
HSVhsv(48, 32%, 100%)
CMYKcmyk(0%, 6.3%, 32.2%, 0%)
CIE-LABlab(94.32, -4.11, 33.94)
CIE-LCHlch(94.32, 34.19, 96.91°)
OKLaboklab(94.96% -0.0091 0.0848)
OKLCHoklch(94.96% 0.085 96.1)
XYZxyz(79.6503, 86.0123, 51.9333)
Luminance0.8601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFAD #ADBDFF
analogous
#FFC6AD #FFEFAD #E6FFAD
triadic
#FFEFAD #ADFFEF #EFADFF
tetradic
#FFEFAD #ADFFC6 #ADBDFF #FFADE6
square
#FFEFAD #ADFFC6 #ADBDFF #FFADE6
split-complementary
#FFEFAD #ADE6FF #C6ADFF
monochromatic
#FFD733 #FFE370 #FFEFAD #FFF9E0 #FFF9E0

Accessibility & contrast

On white

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

On black

18.20
#FFEFAD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEFAD
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEFAD#FFFFFF#000000##000000
##FFEFAD1.001.1518.2018.20
#FFFFFF1.151.0021.0021.00
#00000018.2021.001.001.00
##00000018.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCEBA9
Deuteranopia (green-blind)
#FFF1AF
Tritanopia (blue-blind)
#FFE5DE
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ffefad;
/* rgb */ color: rgb(255, 239, 173);
/* oklch */ color: oklch(95.0% 0.085 96.1);
Tailwind
colors: {
  custom: {
    50: '#fff4c6',
    500: '#ffefad',
    950: '#000000',
  },
}
SCSS
$custom: #ffefad;
$custom-light: #fff4c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefad",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 173
  },
  "hsl": {
    "h": 48.293,
    "s": 100,
    "l": 83.922
  },
  "oklch": {
    "l": 0.94961,
    "c": 0.08525,
    "h": 96.1
  },
  "luminance": 0.8601
}

Semantic roles & 50–950 ramp

primary
#FFEFAD
secondary
#6B83E5
accent
#2DE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FFEFAD

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

Preview Lab → · Contrast checker → · Palette generator →

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