#FEC397#FEC397

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

Color values

HEX#FEC397
RGBrgb(254, 195, 151)
HSLhsl(26, 98%, 79%)
HSVhsv(26, 41%, 100%)
CMYKcmyk(0%, 23.2%, 40.6%, 0.4%)
CIE-LABlab(83.09, 15.58, 30.25)
CIE-LCHlch(83.09, 34.03, 62.74°)
OKLaboklab(86.01% 0.0473 0.0755)
OKLCHoklch(86.01% 0.089 57.9)
XYZxyz(65.9764, 62.3393, 37.8297)
Luminance0.6233 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEC397 #97D2FE
analogous
#FE979F #FEC397 #FEF697
triadic
#FEC397 #97FEC3 #C397FE
tetradic
#FEC397 #9FFE97 #97D2FE #F697FE
square
#FEC397 #9FFE97 #97D2FE #F697FE
split-complementary
#FEC397 #97FEF6 #979FFE
monochromatic
#FD7D1E #FDA05A #FEC397 #FFE6D4 #FFEEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEC397#FFFFFF#000000##000000
##FEC3971.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)
#D5C794
Deuteranopia (green-blind)
#E2D497
Tritanopia (blue-blind)
#FFB7B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #fec397;
/* rgb */ color: rgb(254, 195, 151);
/* oklch */ color: oklch(86.0% 0.089 57.9);
Tailwind
colors: {
  custom: {
    50: '#ffd5b6',
    500: '#fec397',
    950: '#000000',
  },
}
SCSS
$custom: #fec397;
$custom-light: #ffd5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fec397",
  "rgb": {
    "r": 254,
    "g": 195,
    "b": 151
  },
  "hsl": {
    "h": 25.631,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.86009,
    "c": 0.08904,
    "h": 57.9
  },
  "luminance": 0.62335
}

Semantic roles & 50–950 ramp

primary
#FEC397
secondary
#59A6E0
accent
#83E600
background
#FFFEFD
surface
#FFFBF8
border
#D7D4D1
text
#181411
muted
#868381

Preview Lab

Preview with #FEC397

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

Preview Lab → · Contrast checker → · Palette generator →

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