#FEC162#FEC162

#FEC162 is a very light, vivid orange. Relative luminance 0.601; OKLCH L 84.8% C 0.132 H 76.4°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#FEC162
RGBrgb(254, 193, 98)
HSLhsl(37, 99%, 69%)
HSVhsv(37, 61%, 100%)
CMYKcmyk(0%, 24%, 61.4%, 0.4%)
CIE-LABlab(81.89, 12.04, 55.32)
CIE-LCHlch(81.89, 56.61, 77.72°)
OKLaboklab(84.83% 0.031 0.1281)
OKLCHoklch(84.83% 0.132 76.4)
XYZxyz(62.1512, 60.0970, 19.8793)
Luminance0.6009 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEC162 #629FFE
analogous
#FE7362 #FEC162 #EDFE62
triadic
#FEC162 #62FEC1 #C162FE
tetradic
#FEC162 #62FE73 #629FFE #FE62ED
square
#FEC162 #62FE73 #629FFE #FE62ED
split-complementary
#FEC162 #62EDFE #7362FE
monochromatic
#E48C01 #FEA925 #FEC162 #FED99F #FFF1DC

Accessibility & contrast

On white

1.61
#FEC162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#FEC162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEC162
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEC162#FFFFFF#000000##000000
##FEC1621.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C359
Deuteranopia (green-blind)
#E6D265
Tritanopia (blue-blind)
#FFB0AC
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #fec162;
/* rgb */ color: rgb(254, 193, 98);
/* oklch */ color: oklch(84.8% 0.132 76.4);
Tailwind
colors: {
  custom: {
    50: '#ffd392',
    500: '#fec162',
    950: '#000000',
  },
}
SCSS
$custom: #fec162;
$custom-light: #ffd392;
$custom-dark: #000000;
JSON
{
  "hex": "#fec162",
  "rgb": {
    "r": 254,
    "g": 193,
    "b": 98
  },
  "hsl": {
    "h": 36.538,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.84834,
    "c": 0.13175,
    "h": 76.4
  },
  "luminance": 0.60093
}

Semantic roles & 50–950 ramp

primary
#FEC162
secondary
#2C6FD8
accent
#5AE600
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#19140D
muted
#87837F

Preview Lab

Preview with #FEC162

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

Preview Lab → · Contrast checker → · Palette generator →

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