#FEF3AA#FEF3AA

#FEF3AA is a very light, moderate yellow. Relative luminance 0.881; OKLCH L 95.6% C 0.093 H 100.6°. Best body text is #000000 at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#FEF3AA
RGBrgb(254, 243, 170)
HSLhsl(52, 98%, 83%)
HSVhsv(52, 33%, 100%)
CMYKcmyk(0%, 4.3%, 33.1%, 0.4%)
CIE-LABlab(95.19, -6.84, 36.59)
CIE-LCHlch(95.19, 37.23, 100.59°)
OKLaboklab(95.62% -0.0171 0.0909)
OKLCHoklch(95.62% 0.093 100.6)
XYZxyz(80.1803, 88.0762, 50.7991)
Luminance0.8807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF3AA #AAB5FE
analogous
#FEC9AA #FEF3AA #DFFEAA
triadic
#FEF3AA #AAFEF3 #F3AAFE
tetradic
#FEF3AA #AAFEC9 #AAB5FE #FEAADF
square
#FEF3AA #AAFEC9 #AAB5FE #FEAADF
split-complementary
#FEF3AA #AADFFE #C9AAFE
monochromatic
#FDE231 #FDEA6E #FEF3AA #FFFBE1 #FFFBE1

Accessibility & contrast

On white

1.13
#FEF3AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.61
#FEF3AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF3AA
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF3AA#FFFFFF#000000##000000
##FEF3AA1.001.1318.6118.61
#FFFFFF1.131.0021.0021.00
#00000018.6121.001.001.00
##00000018.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEEA5
Deuteranopia (green-blind)
#FFF3AD
Tritanopia (blue-blind)
#FFE9E0
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef3aa;
/* rgb */ color: rgb(254, 243, 170);
/* oklch */ color: oklch(95.6% 0.093 100.6);
Tailwind
colors: {
  custom: {
    50: '#fff7c4',
    500: '#fef3aa',
    950: '#000000',
  },
}
SCSS
$custom: #fef3aa;
$custom-light: #fff7c4;
$custom-dark: #000000;
JSON
{
  "hex": "#fef3aa",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 170
  },
  "hsl": {
    "h": 52.143,
    "s": 97.674,
    "l": 83.137
  },
  "oklch": {
    "l": 0.95618,
    "c": 0.09253,
    "h": 100.6
  },
  "luminance": 0.88074
}

Semantic roles & 50–950 ramp

primary
#FEF3AA
secondary
#6979E3
accent
#1EE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Preview Lab

Preview with #FEF3AA

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

Preview Lab → · Contrast checker → · Palette generator →

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