#FEC97B#FEC97B

#FEC97B is a very light, moderate orange. Relative luminance 0.643; OKLCH L 86.7% C 0.113 H 76.0°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#FEC97B
RGBrgb(254, 201, 123)
HSLhsl(36, 98%, 74%)
HSVhsv(36, 52%, 100%)
CMYKcmyk(0%, 20.9%, 51.6%, 0.4%)
CIE-LABlab(84.11, 9.77, 45.88)
CIE-LCHlch(84.11, 46.90, 77.98°)
OKLaboklab(86.67% 0.0274 0.1099)
OKLCHoklch(86.67% 0.113 76)
XYZxyz(65.3378, 64.2781, 27.7005)
Luminance0.6427 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEC97B #7BB0FE
analogous
#FE887B #FEC97B #F2FE7B
triadic
#FEC97B #7BFEC9 #C97BFE
tetradic
#FEC97B #7BFE88 #7BB0FE #FE7BF2
square
#FEC97B #7BFE88 #7BB0FE #FE7BF2
split-complementary
#FEC97B #7BF2FE #887BFE
monochromatic
#FD9702 #FEB03E #FEC97B #FEE2B8 #FFF3E1

Accessibility & contrast

On white

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

On black

13.85
#FEC97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEC97B
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEC97B#FFFFFF#000000##000000
##FEC97B1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCA75
Deuteranopia (green-blind)
#EAD77D
Tritanopia (blue-blind)
#FFBBB6
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #fec97b;
/* rgb */ color: rgb(254, 201, 123);
/* oklch */ color: oklch(86.7% 0.113 76.0);
Tailwind
colors: {
  custom: {
    50: '#ffd9a2',
    500: '#fec97b',
    950: '#000000',
  },
}
SCSS
$custom: #fec97b;
$custom-light: #ffd9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fec97b",
  "rgb": {
    "r": 254,
    "g": 201,
    "b": 123
  },
  "hsl": {
    "h": 35.725,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.86666,
    "c": 0.11325,
    "h": 76
  },
  "luminance": 0.64274
}

Semantic roles & 50–950 ramp

primary
#FEC97B
secondary
#4180DC
accent
#5DE600
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140F
muted
#868380

Preview Lab

Preview with #FEC97B

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

Preview Lab → · Contrast checker → · Palette generator →

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