#FEDF97#FEDF97

#FEDF97 is a very light, moderate orange. Relative luminance 0.761; OKLCH L 91.3% C 0.096 H 87.2°. Best body text is #000000 at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#FEDF97
RGBrgb(254, 223, 151)
HSLhsl(42, 98%, 79%)
HSVhsv(42, 41%, 100%)
CMYKcmyk(0%, 12.2%, 40.6%, 0.4%)
CIE-LABlab(89.90, 1.12, 39.20)
CIE-LCHlch(89.90, 39.22, 88.36°)
OKLaboklab(91.34% 0.0047 0.0963)
OKLCHoklch(91.34% 0.096 87.2)
XYZxyz(72.8485, 76.0835, 40.1204)
Luminance0.7608 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEDF97 #97B6FE
analogous
#FEAC97 #FEDF97 #E9FE97
triadic
#FEDF97 #97FEDF #DF97FE
tetradic
#FEDF97 #97FEAC #97B6FE #FE97E9
square
#FEDF97 #97FEAC #97B6FE #FE97E9
split-complementary
#FEDF97 #97E9FE #AC97FE
monochromatic
#FDBA1E #FDCC5A #FEDF97 #FFF2D4 #FFF6E1

Accessibility & contrast

On white

1.30
#FEDF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.22
#FEDF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEDF97
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEDF97#FFFFFF#000000##000000
##FEDF971.001.3016.2216.22
#FFFFFF1.301.0021.0021.00
#00000016.2221.001.001.00
##00000016.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDD92
Deuteranopia (green-blind)
#F7E699
Tritanopia (blue-blind)
#FFD3CD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #fedf97;
/* rgb */ color: rgb(254, 223, 151);
/* oklch */ color: oklch(91.3% 0.096 87.2);
Tailwind
colors: {
  custom: {
    50: '#ffe8b6',
    500: '#fedf97',
    950: '#000000',
  },
}
SCSS
$custom: #fedf97;
$custom-light: #ffe8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fedf97",
  "rgb": {
    "r": 254,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 41.942,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.91341,
    "c": 0.09646,
    "h": 87.2
  },
  "luminance": 0.76081
}

Semantic roles & 50–950 ramp

primary
#FEDF97
secondary
#5982E0
accent
#45E600
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#181611
muted
#868481

Preview Lab

Preview with #FEDF97

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

Preview Lab → · Contrast checker → · Palette generator →

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