#FED998#FED998

#FED998 is a very light, moderate orange. Relative luminance 0.730; OKLCH L 90.2% C 0.092 H 81.2°. Best body text is #000000 at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#FED998
RGBrgb(254, 217, 152)
HSLhsl(38, 98%, 80%)
HSVhsv(38, 40%, 100%)
CMYKcmyk(0%, 14.6%, 40.2%, 0.4%)
CIE-LABlab(88.43, 4.29, 36.79)
CIE-LCHlch(88.43, 37.03, 83.35°)
OKLaboklab(90.19% 0.0141 0.0908)
OKLCHoklch(90.19% 0.092 81.2)
XYZxyz(71.3554, 72.9667, 40.0251)
Luminance0.7296 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FED998 #98BDFE
analogous
#FEA698 #FED998 #F0FE98
triadic
#FED998 #98FED9 #D998FE
tetradic
#FED998 #98FEA6 #98BDFE #FE98F0
square
#FED998 #98FEA6 #98BDFE #FE98F0
split-complementary
#FED998 #98F0FE #A698FE
monochromatic
#FDAC1F #FDC35B #FED998 #FFEFD5 #FFF4E1

Accessibility & contrast

On white

1.35
#FED998 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.59
#FED998 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FED998
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FED998#FFFFFF#000000##000000
##FED9981.001.3515.5915.59
#FFFFFF1.351.0021.0021.00
#00000015.5921.001.001.00
##00000015.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D893
Deuteranopia (green-blind)
#F2E29A
Tritanopia (blue-blind)
#FFCEC8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #fed998;
/* rgb */ color: rgb(254, 217, 152);
/* oklch */ color: oklch(90.2% 0.092 81.2);
Tailwind
colors: {
  custom: {
    50: '#ffe4b7',
    500: '#fed998',
    950: '#000000',
  },
}
SCSS
$custom: #fed998;
$custom-light: #ffe4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fed998",
  "rgb": {
    "r": 254,
    "g": 217,
    "b": 152
  },
  "hsl": {
    "h": 38.235,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.90193,
    "c": 0.09188,
    "h": 81.2
  },
  "luminance": 0.72964
}

Semantic roles & 50–950 ramp

primary
#FED998
secondary
#5A8BE0
accent
#53E600
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#181511
muted
#868481

Preview Lab

Preview with #FED998

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

Preview Lab → · Contrast checker → · Palette generator →

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