#FEC97F#FEC97F

#FEC97F is a very light, moderate orange. Relative luminance 0.644; OKLCH L 86.7% C 0.110 H 74.7°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#FEC97F
RGBrgb(254, 201, 127)
HSLhsl(35, 98%, 75%)
HSVhsv(35, 50%, 100%)
CMYKcmyk(0%, 20.9%, 50%, 0.4%)
CIE-LABlab(84.16, 10.11, 43.95)
CIE-LCHlch(84.16, 45.10, 77.04°)
OKLaboklab(86.73% 0.0289 0.1059)
OKLCHoklch(86.73% 0.11 74.7)
XYZxyz(65.5933, 64.3803, 29.0463)
Luminance0.6438 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEC97F #7FB4FE
analogous
#FE8A7F #FEC97F #F3FE7F
triadic
#FEC97F #7FFEC9 #C97FFE
tetradic
#FEC97F #7FFE8A #7FB4FE #FE7FF3
square
#FEC97F #7FFE8A #7FB4FE #FE7FF3
split-complementary
#FEC97F #7FF3FE #8A7FFE
monochromatic
#FD9606 #FEAF42 #FEC97F #FEE3BC #FFF2E1

Accessibility & contrast

On white

1.51
#FEC97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.88
#FEC97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEC97F
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEC97F#FFFFFF#000000##000000
##FEC97F1.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCA79
Deuteranopia (green-blind)
#E9D781
Tritanopia (blue-blind)
#FFBBB7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #fec97f;
/* rgb */ color: rgb(254, 201, 127);
/* oklch */ color: oklch(86.7% 0.110 74.7);
Tailwind
colors: {
  custom: {
    50: '#ffd9a5',
    500: '#fec97f',
    950: '#000000',
  },
}
SCSS
$custom: #fec97f;
$custom-light: #ffd9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fec97f",
  "rgb": {
    "r": 254,
    "g": 201,
    "b": 127
  },
  "hsl": {
    "h": 34.961,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.86725,
    "c": 0.10972,
    "h": 74.7
  },
  "luminance": 0.64376
}

Semantic roles & 50–950 ramp

primary
#FEC97F
secondary
#4584DD
accent
#60E600
background
#FFFEFC
surface
#FFFBF6
border
#D7D4D0
text
#18140F
muted
#868380

Preview Lab

Preview with #FEC97F

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

Preview Lab → · Contrast checker → · Palette generator →

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