#FEFDA2#FEFDA2

#FEFDA2 is a very light, moderate yellow. Relative luminance 0.939; OKLCH L 97.5% C 0.113 H 107.8°. Best body text is #000000 at 19.79:1 contrast (WCAG AA passes).

Color values

HEX#FEFDA2
RGBrgb(254, 253, 162)
HSLhsl(59, 98%, 82%)
HSVhsv(59, 36%, 100%)
CMYKcmyk(0%, 0.4%, 36.2%, 0.4%)
CIE-LABlab(97.60, -12.68, 43.70)
CIE-LCHlch(97.60, 45.50, 106.18°)
OKLaboklab(97.49% -0.0343 0.1072)
OKLCHoklch(97.49% 0.113 107.8)
XYZxyz(82.5209, 93.9317, 47.9590)
Luminance0.9393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFDA2 #A2A3FE
analogous
#FECFA2 #FEFDA2 #D1FEA2
triadic
#FEFDA2 #A2FEFD #FDA2FE
tetradic
#FEFDA2 #A2FECF #A2A3FE #FEA2D1
square
#FEFDA2 #A2FECF #A2A3FE #FEA2D1
split-complementary
#FEFDA2 #A2D1FE #CFA2FE
monochromatic
#FDFA29 #FDFC65 #FEFDA2 #FFFEDF #FFFEE1

Accessibility & contrast

On white

1.06
#FEFDA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.79
#FEFDA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFDA2
19.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFDA2#FFFFFF#000000##000000
##FEFDA21.001.0619.7919.79
#FFFFFF1.061.0021.0021.00
#00000019.7921.001.001.00
##00000019.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF69B
Deuteranopia (green-blind)
#FFFAA6
Tritanopia (blue-blind)
#FFF2E6
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fefda2;
/* rgb */ color: rgb(254, 253, 162);
/* oklch */ color: oklch(97.5% 0.113 107.8);
Tailwind
colors: {
  custom: {
    50: '#fffebe',
    500: '#fefda2',
    950: '#000000',
  },
}
SCSS
$custom: #fefda2;
$custom-light: #fffebe;
$custom-dark: #000000;
JSON
{
  "hex": "#fefda2",
  "rgb": {
    "r": 254,
    "g": 253,
    "b": 162
  },
  "hsl": {
    "h": 59.348,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.9749,
    "c": 0.11252,
    "h": 107.8
  },
  "luminance": 0.9393
}

Semantic roles & 50–950 ramp

primary
#FEFDA2
secondary
#6264E2
accent
#02E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FEFDA2

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

Preview Lab → · Contrast checker → · Palette generator →

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