#FEC398#FEC398

#FEC398 is a very light, moderate orange. Relative luminance 0.624; OKLCH L 86.0% C 0.088 H 57.3°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#FEC398
RGBrgb(254, 195, 152)
HSLhsl(25, 98%, 80%)
HSVhsv(25, 40%, 100%)
CMYKcmyk(0%, 23.2%, 40.2%, 0.4%)
CIE-LABlab(83.11, 15.69, 29.75)
CIE-LCHlch(83.11, 33.63, 62.19°)
OKLaboklab(86.03% 0.0477 0.0743)
OKLCHoklch(86.03% 0.088 57.3)
XYZxyz(66.0580, 62.3719, 38.2593)
Luminance0.6237 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEC398 #98D3FE
analogous
#FE98A0 #FEC398 #FEF698
triadic
#FEC398 #98FEC3 #C398FE
tetradic
#FEC398 #A0FE98 #98D3FE #F698FE
square
#FEC398 #A0FE98 #98D3FE #F698FE
split-complementary
#FEC398 #98FEF6 #98A0FE
monochromatic
#FD7C1F #FDA05B #FEC398 #FFE6D5 #FFEDE1

Accessibility & contrast

On white

1.56
#FEC398 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.47
#FEC398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEC398
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEC398#FFFFFF#000000##000000
##FEC3981.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C795
Deuteranopia (green-blind)
#E2D498
Tritanopia (blue-blind)
#FFB8B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #fec398;
/* rgb */ color: rgb(254, 195, 152);
/* oklch */ color: oklch(86.0% 0.088 57.3);
Tailwind
colors: {
  custom: {
    50: '#ffd5b6',
    500: '#fec398',
    950: '#000000',
  },
}
SCSS
$custom: #fec398;
$custom-light: #ffd5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fec398",
  "rgb": {
    "r": 254,
    "g": 195,
    "b": 152
  },
  "hsl": {
    "h": 25.294,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.86028,
    "c": 0.08827,
    "h": 57.3
  },
  "luminance": 0.62368
}

Semantic roles & 50–950 ramp

primary
#FEC398
secondary
#5AA8E0
accent
#85E600
background
#FFFEFD
surface
#FFFBF8
border
#D7D4D1
text
#181411
muted
#868381

Preview Lab

Preview with #FEC398

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

Preview Lab → · Contrast checker → · Palette generator →

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