#F5C162#F5C162

#F5C162 is a very light, vivid orange. Relative luminance 0.584; OKLCH L 83.9% C 0.127 H 80.6°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#F5C162
RGBrgb(245, 193, 98)
HSLhsl(39, 88%, 67%)
HSVhsv(39, 60%, 96%)
CMYKcmyk(0%, 21.2%, 60%, 3.9%)
CIE-LABlab(80.98, 8.34, 54.04)
CIE-LCHlch(80.98, 54.68, 81.23°)
OKLaboklab(83.92% 0.0208 0.1255)
OKLCHoklch(83.92% 0.127 80.6)
XYZxyz(58.9339, 58.4380, 19.7285)
Luminance0.5843 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5C162 #6296F5
analogous
#F57862 #F5C162 #DFF562
triadic
#F5C162 #62F5C1 #C162F5
tetradic
#F5C162 #62F578 #6296F5 #F562DF
square
#F5C162 #62F578 #6296F5 #F562DF
split-complementary
#F5C162 #62DFF5 #7862F5
monochromatic
#CF8B0D #F1AA28 #F5C162 #F9D89C #FCEED5

Accessibility & contrast

On white

1.66
#F5C162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#F5C162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5C162
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5C162#FFFFFF#000000##000000
##F5C1621.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C159
Deuteranopia (green-blind)
#E3CE65
Tritanopia (blue-blind)
#FFB2AC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #f5c162;
/* rgb */ color: rgb(245, 193, 98);
/* oklch */ color: oklch(83.9% 0.127 80.6);
Tailwind
colors: {
  custom: {
    50: '#fcd391',
    500: '#f5c162',
    950: '#000000',
  },
}
SCSS
$custom: #f5c162;
$custom-light: #fcd391;
$custom-dark: #000000;
JSON
{
  "hex": "#f5c162",
  "rgb": {
    "r": 245,
    "g": 193,
    "b": 98
  },
  "hsl": {
    "h": 38.776,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.83915,
    "c": 0.12723,
    "h": 80.6
  },
  "luminance": 0.58434
}

Semantic roles & 50–950 ramp

primary
#F5C162
secondary
#3067CB
accent
#51E501
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F5C162

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

Preview Lab → · Contrast checker → · Palette generator →

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