#FEC799#FEC799

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

Color values

HEX#FEC799
RGBrgb(254, 199, 153)
HSLhsl(27, 98%, 80%)
HSVhsv(27, 40%, 100%)
CMYKcmyk(0%, 21.7%, 39.8%, 0.4%)
CIE-LABlab(84.08, 13.71, 30.52)
CIE-LCHlch(84.08, 33.46, 65.81°)
OKLaboklab(86.79% 0.0419 0.0762)
OKLCHoklch(86.79% 0.087 61.2)
XYZxyz(67.0485, 64.2213, 38.9952)
Luminance0.6422 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEC799 #99D0FE
analogous
#FE999E #FEC799 #FEFA99
triadic
#FEC799 #99FEC7 #C799FE
tetradic
#FEC799 #9EFE99 #99D0FE #FA99FE
square
#FEC799 #9EFE99 #99D0FE #FA99FE
split-complementary
#FEC799 #99FEFA #999EFE
monochromatic
#FD8420 #FDA65C #FEC799 #FFE8D6 #FFEEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEC799#FFFFFF#000000##000000
##FEC7991.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)
#D8CB96
Deuteranopia (green-blind)
#E5D79A
Tritanopia (blue-blind)
#FFBCBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #fec799;
/* rgb */ color: rgb(254, 199, 153);
/* oklch */ color: oklch(86.8% 0.087 61.2);
Tailwind
colors: {
  custom: {
    50: '#ffd8b7',
    500: '#fec799',
    950: '#000000',
  },
}
SCSS
$custom: #fec799;
$custom-light: #ffd8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fec799",
  "rgb": {
    "r": 254,
    "g": 199,
    "b": 153
  },
  "hsl": {
    "h": 27.327,
    "s": 98.058,
    "l": 79.804
  },
  "oklch": {
    "l": 0.8679,
    "c": 0.08691,
    "h": 61.2
  },
  "luminance": 0.64218
}

Semantic roles & 50–950 ramp

primary
#FEC799
secondary
#5BA4E0
accent
#7DE600
background
#FFFEFD
surface
#FFFBF8
border
#D7D4D1
text
#181411
muted
#868381

Preview Lab

Preview with #FEC799

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

Preview Lab → · Contrast checker → · Palette generator →

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