#FED798#FED798

#FED798 is a very light, moderate orange. Relative luminance 0.719; OKLCH L 89.8% C 0.091 H 79.2°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#FED798
RGBrgb(254, 215, 152)
HSLhsl(37, 98%, 80%)
HSVhsv(37, 40%, 100%)
CMYKcmyk(0%, 15.4%, 40.2%, 0.4%)
CIE-LABlab(87.94, 5.32, 36.14)
CIE-LCHlch(87.94, 36.53, 81.63°)
OKLaboklab(89.81% 0.0171 0.0893)
OKLCHoklch(89.81% 0.091 79.2)
XYZxyz(70.8430, 71.9419, 39.8543)
Luminance0.7194 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FED798 #98BFFE
analogous
#FEA498 #FED798 #F2FE98
triadic
#FED798 #98FED7 #D798FE
tetradic
#FED798 #98FEA4 #98BFFE #FE98F2
square
#FED798 #98FEA4 #98BFFE #FE98F2
split-complementary
#FED798 #98F2FE #A498FE
monochromatic
#FDA81F #FDBF5B #FED798 #FFEFD5 #FFF3E1

Accessibility & contrast

On white

1.36
#FED798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.39
#FED798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FED798
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FED798#FFFFFF#000000##000000
##FED7981.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D793
Deuteranopia (green-blind)
#F1E19A
Tritanopia (blue-blind)
#FFCCC7
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #fed798;
/* rgb */ color: rgb(254, 215, 152);
/* oklch */ color: oklch(89.8% 0.091 79.2);
Tailwind
colors: {
  custom: {
    50: '#ffe3b7',
    500: '#fed798',
    950: '#000000',
  },
}
SCSS
$custom: #fed798;
$custom-light: #ffe3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fed798",
  "rgb": {
    "r": 254,
    "g": 215,
    "b": 152
  },
  "hsl": {
    "h": 37.059,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.89807,
    "c": 0.09092,
    "h": 79.2
  },
  "luminance": 0.71939
}

Semantic roles & 50–950 ramp

primary
#FED798
secondary
#5A8DE0
accent
#58E600
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#181511
muted
#868481

Preview Lab

Preview with #FED798

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

Preview Lab → · Contrast checker → · Palette generator →

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