#FFEFA4#FFEFA4

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

Color values

HEX#FFEFA4
RGBrgb(255, 239, 164)
HSLhsl(49, 100%, 82%)
HSVhsv(49, 36%, 100%)
CMYKcmyk(0%, 6.3%, 35.7%, 0%)
CIE-LABlab(94.17, -5.16, 38.27)
CIE-LCHlch(94.17, 38.62, 97.67°)
OKLaboklab(94.8% -0.0126 0.0947)
OKLCHoklch(94.8% 0.096 97.6)
XYZxyz(78.8086, 85.6756, 47.5004)
Luminance0.8567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFA4 #A4B4FF
analogous
#FFC2A4 #FFEFA4 #E1FFA4
triadic
#FFEFA4 #A4FFEF #EFA4FF
tetradic
#FFEFA4 #A4FFC2 #A4B4FF #FFA4E1
square
#FFEFA4 #A4FFC2 #A4B4FF #FFA4E1
split-complementary
#FFEFA4 #A4E1FF #C2A4FF
monochromatic
#FFD92A #FFE467 #FFEFA4 #FFFAE0 #FFFAE0

Accessibility & contrast

On white

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

On black

18.13
#FFEFA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEFA4
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEFA4#FFFFFF#000000##000000
##FFEFA41.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffefa4;
/* rgb */ color: rgb(255, 239, 164);
/* oklch */ color: oklch(94.8% 0.096 97.6);
Tailwind
colors: {
  custom: {
    50: '#fff4bf',
    500: '#ffefa4',
    950: '#000000',
  },
}
SCSS
$custom: #ffefa4;
$custom-light: #fff4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefa4",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 164
  },
  "hsl": {
    "h": 49.451,
    "s": 100,
    "l": 82.157
  },
  "oklch": {
    "l": 0.948,
    "c": 0.0955,
    "h": 97.6
  },
  "luminance": 0.85673
}

Semantic roles & 50–950 ramp

primary
#FFEFA4
secondary
#647AE4
accent
#28E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Preview Lab

Preview with #FFEFA4

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

Preview Lab → · Contrast checker → · Palette generator →

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