#F0C462#F0C462

#F0C462 is a very light, vivid orange. Relative luminance 0.589; OKLCH L 84.0% C 0.126 H 85.2°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#F0C462
RGBrgb(240, 196, 98)
HSLhsl(41, 83%, 66%)
HSVhsv(41, 59%, 94%)
CMYKcmyk(0%, 18.3%, 59.2%, 5.9%)
CIE-LABlab(81.23, 4.71, 54.20)
CIE-LCHlch(81.23, 54.40, 85.03°)
OKLaboklab(84% 0.0105 0.126)
OKLCHoklch(84% 0.126 85.2)
XYZxyz(57.8825, 58.8904, 19.8711)
Luminance0.5889 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C462 #628EF0
analogous
#F07D62 #F0C462 #D5F062
triadic
#F0C462 #62F0C4 #C462F0
tetradic
#F0C462 #62F07D #628EF0 #F062D5
square
#F0C462 #62F07D #628EF0 #F062D5
split-complementary
#F0C462 #62D5F0 #7D62F0
monochromatic
#C58E13 #EBAF2A #F0C462 #F5D99A #FBEED2

Accessibility & contrast

On white

1.64
#F0C462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#F0C462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C462
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C462#FFFFFF#000000##000000
##F0C4621.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C358
Deuteranopia (green-blind)
#E3CF66
Tritanopia (blue-blind)
#FFB5AE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #f0c462;
/* rgb */ color: rgb(240, 196, 98);
/* oklch */ color: oklch(84.0% 0.126 85.2);
Tailwind
colors: {
  custom: {
    50: '#f8d592',
    500: '#f0c462',
    950: '#000000',
  },
}
SCSS
$custom: #f0c462;
$custom-light: #f8d592;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c462",
  "rgb": {
    "r": 240,
    "g": 196,
    "b": 98
  },
  "hsl": {
    "h": 41.408,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.83999,
    "c": 0.12642,
    "h": 85.2
  },
  "luminance": 0.58887
}

Semantic roles & 50–950 ramp

primary
#F0C462
secondary
#3460C2
accent
#4ADF07
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F0C462

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

Preview Lab → · Contrast checker → · Palette generator →

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