#FEC962#FEC962

#FEC962 is a very light, vivid orange. Relative luminance 0.637; OKLCH L 86.4% C 0.134 H 81.9°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#FEC962
RGBrgb(254, 201, 98)
HSLhsl(40, 99%, 69%)
HSVhsv(40, 61%, 100%)
CMYKcmyk(0%, 20.9%, 61.4%, 0.4%)
CIE-LABlab(83.83, 7.89, 57.51)
CIE-LCHlch(83.83, 58.05, 82.19°)
OKLaboklab(86.35% 0.0189 0.1328)
OKLCHoklch(86.35% 0.134 81.9)
XYZxyz(63.9677, 63.7301, 20.4848)
Luminance0.6373 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEC962 #6297FE
analogous
#FE7B62 #FEC962 #E5FE62
triadic
#FEC962 #62FEC9 #C962FE
tetradic
#FEC962 #62FE7B #6297FE #FE62E5
square
#FEC962 #62FE7B #6297FE #FE62E5
split-complementary
#FEC962 #62E5FE #7B62FE
monochromatic
#E49701 #FEB425 #FEC962 #FEDE9F #FFF3DC

Accessibility & contrast

On white

1.53
#FEC962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#FEC962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEC962
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEC962#FFFFFF#000000##000000
##FEC9621.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC958
Deuteranopia (green-blind)
#ECD766
Tritanopia (blue-blind)
#FFB9B2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #fec962;
/* rgb */ color: rgb(254, 201, 98);
/* oklch */ color: oklch(86.4% 0.134 81.9);
Tailwind
colors: {
  custom: {
    50: '#ffd992',
    500: '#fec962',
    950: '#000000',
  },
}
SCSS
$custom: #fec962;
$custom-light: #ffd992;
$custom-dark: #000000;
JSON
{
  "hex": "#fec962",
  "rgb": {
    "r": 254,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 39.615,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.8635,
    "c": 0.13409,
    "h": 81.9
  },
  "luminance": 0.63726
}

Semantic roles & 50–950 ramp

primary
#FEC962
secondary
#2C66D8
accent
#4EE600
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#19140D
muted
#87837F

Preview Lab

Preview with #FEC962

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

Preview Lab → · Contrast checker → · Palette generator →

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