#F0C162#F0C162

#F0C162 is a very light, vivid orange. Relative luminance 0.575; OKLCH L 83.4% C 0.125 H 83.1°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#F0C162
RGBrgb(240, 193, 98)
HSLhsl(40, 83%, 66%)
HSVhsv(40, 59%, 94%)
CMYKcmyk(0%, 19.6%, 59.2%, 5.9%)
CIE-LABlab(80.49, 6.27, 53.34)
CIE-LCHlch(80.49, 53.71, 83.29°)
OKLaboklab(83.42% 0.0151 0.1241)
OKLCHoklch(83.42% 0.125 83.1)
XYZxyz(57.2126, 57.5505, 19.6478)
Luminance0.5755 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C162 #6291F0
analogous
#F07A62 #F0C162 #D8F062
triadic
#F0C162 #62F0C1 #C162F0
tetradic
#F0C162 #62F07A #6291F0 #F062D8
square
#F0C162 #62F07A #6291F0 #F062D8
split-complementary
#F0C162 #62D8F0 #7A62F0
monochromatic
#C58A13 #EBAB2A #F0C162 #F5D79A #FBEDD2

Accessibility & contrast

On white

1.68
#F0C162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#F0C162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C162
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C162#FFFFFF#000000##000000
##F0C1621.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0c162;
/* rgb */ color: rgb(240, 193, 98);
/* oklch */ color: oklch(83.4% 0.125 83.1);
Tailwind
colors: {
  custom: {
    50: '#f8d391',
    500: '#f0c162',
    950: '#000000',
  },
}
SCSS
$custom: #f0c162;
$custom-light: #f8d391;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c162",
  "rgb": {
    "r": 240,
    "g": 193,
    "b": 98
  },
  "hsl": {
    "h": 40.141,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.83415,
    "c": 0.12504,
    "h": 83.1
  },
  "luminance": 0.57547
}

Semantic roles & 50–950 ramp

primary
#F0C162
secondary
#3463C2
accent
#4EDF07
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F0C162

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

Preview Lab → · Contrast checker → · Palette generator →

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