#FFEFA7#FFEFA7

#FFEFA7 is a very light, moderate yellow. Relative luminance 0.858; OKLCH L 94.9% C 0.092 H 97.1°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#FFEFA7
RGBrgb(255, 239, 167)
HSLhsl(49, 100%, 83%)
HSVhsv(49, 35%, 100%)
CMYKcmyk(0%, 6.3%, 34.5%, 0%)
CIE-LABlab(94.22, -4.81, 36.83)
CIE-LCHlch(94.22, 37.14, 97.45°)
OKLaboklab(94.85% -0.0114 0.0914)
OKLCHoklch(94.85% 0.092 97.1)
XYZxyz(79.0827, 85.7852, 48.9441)
Luminance0.8578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFA7 #A7B7FF
analogous
#FFC3A7 #FFEFA7 #E3FFA7
triadic
#FFEFA7 #A7FFEF #EFA7FF
tetradic
#FFEFA7 #A7FFC3 #A7B7FF #FFA7E3
square
#FFEFA7 #A7FFC3 #A7B7FF #FFA7E3
split-complementary
#FFEFA7 #A7E3FF #C3A7FF
monochromatic
#FFD92D #FFE46A #FFEFA7 #FFF9E0 #FFF9E0

Accessibility & contrast

On white

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

On black

18.16
#FFEFA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEFA7
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEFA7#FFFFFF#000000##000000
##FFEFA71.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffefa7;
/* rgb */ color: rgb(255, 239, 167);
/* oklch */ color: oklch(94.9% 0.092 97.1);
Tailwind
colors: {
  custom: {
    50: '#fff4c1',
    500: '#ffefa7',
    950: '#000000',
  },
}
SCSS
$custom: #ffefa7;
$custom-light: #fff4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefa7",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 167
  },
  "hsl": {
    "h": 49.091,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.94852,
    "c": 0.09211,
    "h": 97.1
  },
  "luminance": 0.85783
}

Semantic roles & 50–950 ramp

primary
#FFEFA7
secondary
#667DE4
accent
#2AE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Preview Lab

Preview with #FFEFA7

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

Preview Lab → · Contrast checker → · Palette generator →

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