#FEC798#FEC798

#FEC798 is a very light, moderate orange. Relative luminance 0.642; OKLCH L 86.8% C 0.088 H 61.8°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#FEC798
RGBrgb(254, 199, 152)
HSLhsl(28, 98%, 80%)
HSVhsv(28, 40%, 100%)
CMYKcmyk(0%, 21.7%, 40.2%, 0.4%)
CIE-LABlab(84.06, 13.60, 31.02)
CIE-LCHlch(84.06, 33.87, 66.32°)
OKLaboklab(86.77% 0.0415 0.0773)
OKLCHoklch(86.77% 0.088 61.8)
XYZxyz(66.9662, 64.1884, 38.5620)
Luminance0.6419 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEC798 #98CFFE
analogous
#FE989C #FEC798 #FEFA98
triadic
#FEC798 #98FEC7 #C798FE
tetradic
#FEC798 #9CFE98 #98CFFE #FA98FE
square
#FEC798 #9CFE98 #98CFFE #FA98FE
split-complementary
#FEC798 #98FEFA #989CFE
monochromatic
#FD851F #FDA65B #FEC798 #FFE8D5 #FFEFE1

Accessibility & contrast

On white

1.52
#FEC798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#FEC798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEC798
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEC798#FFFFFF#000000##000000
##FEC7981.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA95
Deuteranopia (green-blind)
#E5D799
Tritanopia (blue-blind)
#FFBCBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #fec798;
/* rgb */ color: rgb(254, 199, 152);
/* oklch */ color: oklch(86.8% 0.088 61.8);
Tailwind
colors: {
  custom: {
    50: '#ffd8b6',
    500: '#fec798',
    950: '#000000',
  },
}
SCSS
$custom: #fec798;
$custom-light: #ffd8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fec798",
  "rgb": {
    "r": 254,
    "g": 199,
    "b": 152
  },
  "hsl": {
    "h": 27.647,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.86771,
    "c": 0.08773,
    "h": 61.8
  },
  "luminance": 0.64185
}

Semantic roles & 50–950 ramp

primary
#FEC798
secondary
#5AA2E0
accent
#7CE600
background
#FFFEFD
surface
#FFFBF8
border
#D7D4D1
text
#181411
muted
#868381

Preview Lab

Preview with #FEC798

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

Preview Lab → · Contrast checker → · Palette generator →

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