#FFEFA6#FFEFA6

#FFEFA6 is a very light, moderate yellow. Relative luminance 0.857; OKLCH L 94.8% C 0.093 H 97.3°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#FFEFA6
RGBrgb(255, 239, 166)
HSLhsl(49, 100%, 83%)
HSVhsv(49, 35%, 100%)
CMYKcmyk(0%, 6.3%, 34.9%, 0%)
CIE-LABlab(94.20, -4.93, 37.31)
CIE-LCHlch(94.20, 37.63, 97.53°)
OKLaboklab(94.84% -0.0118 0.0925)
OKLCHoklch(94.84% 0.093 97.3)
XYZxyz(78.9906, 85.7484, 48.4591)
Luminance0.8575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFA6 #A6B6FF
analogous
#FFC2A6 #FFEFA6 #E3FFA6
triadic
#FFEFA6 #A6FFEF #EFA6FF
tetradic
#FFEFA6 #A6FFC2 #A6B6FF #FFA6E3
square
#FFEFA6 #A6FFC2 #A6B6FF #FFA6E3
split-complementary
#FFEFA6 #A6E3FF #C2A6FF
monochromatic
#FFD92C #FFE469 #FFEFA6 #FFF9E0 #FFF9E0

Accessibility & contrast

On white

1.16
#FFEFA6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.15
#FFEFA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEFA6
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEFA6#FFFFFF#000000##000000
##FFEFA61.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEBA1
Deuteranopia (green-blind)
#FFF1A9
Tritanopia (blue-blind)
#FFE5DC
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ffefa6;
/* rgb */ color: rgb(255, 239, 166);
/* oklch */ color: oklch(94.8% 0.093 97.3);
Tailwind
colors: {
  custom: {
    50: '#fff4c1',
    500: '#ffefa6',
    950: '#000000',
  },
}
SCSS
$custom: #ffefa6;
$custom-light: #fff4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefa6",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 166
  },
  "hsl": {
    "h": 49.213,
    "s": 100,
    "l": 82.549
  },
  "oklch": {
    "l": 0.94835,
    "c": 0.09324,
    "h": 97.3
  },
  "luminance": 0.85746
}

Semantic roles & 50–950 ramp

primary
#FFEFA6
secondary
#657CE4
accent
#29E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Preview Lab

Preview with #FFEFA6

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

Preview Lab → · Contrast checker → · Palette generator →

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