#FFEFA3#FFEFA3

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

Color values

HEX#FFEFA3
RGBrgb(255, 239, 163)
HSLhsl(50, 100%, 82%)
HSVhsv(50, 36%, 100%)
CMYKcmyk(0%, 6.3%, 36.1%, 0%)
CIE-LABlab(94.16, -5.27, 38.75)
CIE-LCHlch(94.16, 39.11, 97.74°)
OKLaboklab(94.78% -0.013 0.0958)
OKLCHoklch(94.78% 0.097 97.7)
XYZxyz(78.7186, 85.6396, 47.0267)
Luminance0.8564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFA3 #A3B3FF
analogous
#FFC1A3 #FFEFA3 #E1FFA3
triadic
#FFEFA3 #A3FFEF #EFA3FF
tetradic
#FFEFA3 #A3FFC1 #A3B3FF #FFA3E1
square
#FFEFA3 #A3FFC1 #A3B3FF #FFA3E1
split-complementary
#FFEFA3 #A3E1FF #C1A3FF
monochromatic
#FFDA29 #FFE466 #FFEFA3 #FFFAE0 #FFFAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFEFA3#FFFFFF#000000##000000
##FFEFA31.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)
#FDEB9E
Deuteranopia (green-blind)
#FFF1A6
Tritanopia (blue-blind)
#FFE4DC
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ffefa3;
/* rgb */ color: rgb(255, 239, 163);
/* oklch */ color: oklch(94.8% 0.097 97.7);
Tailwind
colors: {
  custom: {
    50: '#fff4bf',
    500: '#ffefa3',
    950: '#000000',
  },
}
SCSS
$custom: #ffefa3;
$custom-light: #fff4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefa3",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 163
  },
  "hsl": {
    "h": 49.565,
    "s": 100,
    "l": 81.961
  },
  "oklch": {
    "l": 0.94783,
    "c": 0.09663,
    "h": 97.7
  },
  "luminance": 0.85637
}

Semantic roles & 50–950 ramp

primary
#FFEFA3
secondary
#6379E3
accent
#28E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFEFA3

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

Preview Lab → · Contrast checker → · Palette generator →

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