#FFD162#FFD162

#FFD162 is a very light, vivid orange. Relative luminance 0.677; OKLCH L 88.0% C 0.138 H 86.7°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#FFD162
RGBrgb(255, 209, 98)
HSLhsl(42, 100%, 69%)
HSVhsv(42, 62%, 100%)
CMYKcmyk(0%, 18%, 61.6%, 0%)
CIE-LABlab(85.88, 4.18, 59.84)
CIE-LCHlch(85.88, 59.99, 86.00°)
OKLaboklab(87.99% 0.008 0.1377)
OKLCHoklch(87.99% 0.138 86.7)
XYZxyz(66.2484, 67.7467, 21.1399)
Luminance0.6774 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD162 #6290FF
analogous
#FF8362 #FFD162 #DFFF62
triadic
#FFD162 #62FFD1 #D162FF
tetradic
#FFD162 #62FF83 #6290FF #FF62DF
square
#FFD162 #62FF83 #6290FF #FF62DF
split-complementary
#FFD162 #62DFFF #8362FF
monochromatic
#E7A300 #FFBF25 #FFD162 #FFE39F #FFF5DC

Accessibility & contrast

On white

1.44
#FFD162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.55
#FFD162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD162
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD162#FFFFFF#000000##000000
##FFD1621.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffd162;
/* rgb */ color: rgb(255, 209, 98);
/* oklch */ color: oklch(88.0% 0.138 86.7);
Tailwind
colors: {
  custom: {
    50: '#ffde92',
    500: '#ffd162',
    950: '#000000',
  },
}
SCSS
$custom: #ffd162;
$custom-light: #ffde92;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd162",
  "rgb": {
    "r": 255,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 42.42,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.87987,
    "c": 0.13797,
    "h": 86.7
  },
  "luminance": 0.67743
}

Semantic roles & 50–950 ramp

primary
#FFD162
secondary
#2C5FDA
accent
#43E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150D
muted
#87847F

Preview Lab

Preview with #FFD162

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

Preview Lab → · Contrast checker → · Palette generator →

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