#F0C062#F0C062

#F0C062 is a very light, vivid orange. Relative luminance 0.571; OKLCH L 83.2% C 0.125 H 82.4°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#F0C062
RGBrgb(240, 192, 98)
HSLhsl(40, 83%, 66%)
HSVhsv(40, 59%, 94%)
CMYKcmyk(0%, 20%, 59.2%, 5.9%)
CIE-LABlab(80.24, 6.79, 53.06)
CIE-LCHlch(80.24, 53.49, 82.70°)
OKLaboklab(83.22% 0.0166 0.1235)
OKLCHoklch(83.22% 0.125 82.4)
XYZxyz(56.9923, 57.1099, 19.5744)
Luminance0.5711 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C062 #6292F0
analogous
#F07962 #F0C062 #D9F062
triadic
#F0C062 #62F0C0 #C062F0
tetradic
#F0C062 #62F079 #6292F0 #F062D9
square
#F0C062 #62F079 #6292F0 #F062D9
split-complementary
#F0C062 #62D9F0 #7962F0
monochromatic
#C58913 #EBAA2A #F0C062 #F5D69A #FBEDD2

Accessibility & contrast

On white

1.69
#F0C062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#F0C062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C062
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C062#FFFFFF#000000##000000
##F0C0621.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C059
Deuteranopia (green-blind)
#E0CC65
Tritanopia (blue-blind)
#FFB1AB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #f0c062;
/* rgb */ color: rgb(240, 192, 98);
/* oklch */ color: oklch(83.2% 0.125 82.4);
Tailwind
colors: {
  custom: {
    50: '#f8d291',
    500: '#f0c062',
    950: '#000000',
  },
}
SCSS
$custom: #f0c062;
$custom-light: #f8d291;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c062",
  "rgb": {
    "r": 240,
    "g": 192,
    "b": 98
  },
  "hsl": {
    "h": 39.718,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.83221,
    "c": 0.12463,
    "h": 82.4
  },
  "luminance": 0.57106
}

Semantic roles & 50–950 ramp

primary
#F0C062
secondary
#3464C2
accent
#50DF07
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F0C062

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

Preview Lab → · Contrast checker → · Palette generator →

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