#F0C862#F0C862

#F0C862 is a very light, vivid orange. Relative luminance 0.607; OKLCH L 84.8% C 0.129 H 88.0°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#F0C862
RGBrgb(240, 200, 98)
HSLhsl(43, 83%, 66%)
HSVhsv(43, 59%, 94%)
CMYKcmyk(0%, 16.7%, 59.2%, 5.9%)
CIE-LABlab(82.23, 2.64, 55.34)
CIE-LCHlch(82.23, 55.40, 87.27°)
OKLaboklab(84.78% 0.0045 0.1284)
OKLCHoklch(84.78% 0.129 88)
XYZxyz(58.7968, 60.7189, 20.1759)
Luminance0.6072 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C862 #628AF0
analogous
#F08162 #F0C862 #D1F062
triadic
#F0C862 #62F0C8 #C862F0
tetradic
#F0C862 #62F081 #628AF0 #F062D1
square
#F0C862 #62F081 #628AF0 #F062D1
split-complementary
#F0C862 #62D1F0 #8162F0
monochromatic
#C59313 #EBB42A #F0C862 #F5DC9A #FBEFD2

Accessibility & contrast

On white

1.60
#F0C862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#F0C862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C862
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C862#FFFFFF#000000##000000
##F0C8621.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC658
Deuteranopia (green-blind)
#E6D166
Tritanopia (blue-blind)
#FFB9B1
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #f0c862;
/* rgb */ color: rgb(240, 200, 98);
/* oklch */ color: oklch(84.8% 0.129 88.0);
Tailwind
colors: {
  custom: {
    50: '#f8d892',
    500: '#f0c862',
    950: '#000000',
  },
}
SCSS
$custom: #f0c862;
$custom-light: #f8d892;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c862",
  "rgb": {
    "r": 240,
    "g": 200,
    "b": 98
  },
  "hsl": {
    "h": 43.099,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.84783,
    "c": 0.12851,
    "h": 88
  },
  "luminance": 0.60716
}

Semantic roles & 50–950 ramp

primary
#F0C862
secondary
#345CC2
accent
#44DF07
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F0C862

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

Preview Lab → · Contrast checker → · Palette generator →

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