#FED162#FED162

#FED162 is a very light, vivid orange. Relative luminance 0.676; OKLCH L 87.9% C 0.138 H 87.1°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#FED162
RGBrgb(254, 209, 98)
HSLhsl(43, 99%, 69%)
HSVhsv(43, 61%, 100%)
CMYKcmyk(0%, 17.7%, 61.4%, 0.4%)
CIE-LABlab(85.78, 3.77, 59.71)
CIE-LCHlch(85.78, 59.83, 86.39°)
OKLaboklab(87.89% 0.0069 0.1375)
OKLCHoklch(87.89% 0.138 87.1)
XYZxyz(65.8814, 67.5575, 21.1227)
Luminance0.6755 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FED162 #628FFE
analogous
#FE8362 #FED162 #DDFE62
triadic
#FED162 #62FED1 #D162FE
tetradic
#FED162 #62FE83 #628FFE #FE62DD
square
#FED162 #62FE83 #628FFE #FE62DD
split-complementary
#FED162 #62DDFE #8362FE
monochromatic
#E4A301 #FEBF25 #FED162 #FEE39F #FFF5DC

Accessibility & contrast

On white

1.45
#FED162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#FED162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FED162
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FED162#FFFFFF#000000##000000
##FED1621.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF56
Deuteranopia (green-blind)
#F2DC66
Tritanopia (blue-blind)
#FFC1B9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #fed162;
/* rgb */ color: rgb(254, 209, 98);
/* oklch */ color: oklch(87.9% 0.138 87.1);
Tailwind
colors: {
  custom: {
    50: '#ffde92',
    500: '#fed162',
    950: '#000000',
  },
}
SCSS
$custom: #fed162;
$custom-light: #ffde92;
$custom-dark: #000000;
JSON
{
  "hex": "#fed162",
  "rgb": {
    "r": 254,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 42.692,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.87891,
    "c": 0.13765,
    "h": 87.1
  },
  "luminance": 0.67554
}

Semantic roles & 50–950 ramp

primary
#FED162
secondary
#2C5ED8
accent
#42E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150D
muted
#87847F

Preview Lab

Preview with #FED162

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

Preview Lab → · Contrast checker → · Palette generator →

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