#FEC998#FEC998

#FEC998 is a very light, moderate orange. Relative luminance 0.651; OKLCH L 87.1% C 0.088 H 64.0°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#FEC998
RGBrgb(254, 201, 152)
HSLhsl(29, 98%, 80%)
HSVhsv(29, 40%, 100%)
CMYKcmyk(0%, 20.9%, 40.2%, 0.4%)
CIE-LABlab(84.54, 12.56, 31.66)
CIE-LCHlch(84.54, 34.06, 68.36°)
OKLaboklab(87.15% 0.0384 0.0788)
OKLCHoklch(87.15% 0.088 64)
XYZxyz(67.4294, 65.1148, 38.7164)
Luminance0.6511 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEC998 #98CDFE
analogous
#FE989A #FEC998 #FEFC98
triadic
#FEC998 #98FEC9 #C998FE
tetradic
#FEC998 #9AFE98 #98CDFE #FC98FE
square
#FEC998 #9AFE98 #98CDFE #FC98FE
split-complementary
#FEC998 #98FEFC #989AFE
monochromatic
#FD891F #FDA95B #FEC998 #FFE9D5 #FFEFE1

Accessibility & contrast

On white

1.50
#FEC998 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.02
#FEC998 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEC998
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEC998#FFFFFF#000000##000000
##FEC9981.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DACC95
Deuteranopia (green-blind)
#E6D899
Tritanopia (blue-blind)
#FFBEBC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #fec998;
/* rgb */ color: rgb(254, 201, 152);
/* oklch */ color: oklch(87.1% 0.088 64.0);
Tailwind
colors: {
  custom: {
    50: '#ffd9b6',
    500: '#fec998',
    950: '#000000',
  },
}
SCSS
$custom: #fec998;
$custom-light: #ffd9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fec998",
  "rgb": {
    "r": 254,
    "g": 201,
    "b": 152
  },
  "hsl": {
    "h": 28.824,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.87145,
    "c": 0.08766,
    "h": 64
  },
  "luminance": 0.65111
}

Semantic roles & 50–950 ramp

primary
#FEC998
secondary
#5AA0E0
accent
#77E600
background
#FFFEFD
surface
#FFFBF8
border
#D7D4D1
text
#181411
muted
#868381

Preview Lab

Preview with #FEC998

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

Preview Lab → · Contrast checker → · Palette generator →

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