#F0C662#F0C662

#F0C662 is a very light, vivid orange. Relative luminance 0.598; OKLCH L 84.4% C 0.127 H 86.6°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#F0C662
RGBrgb(240, 198, 98)
HSLhsl(42, 83%, 66%)
HSVhsv(42, 59%, 94%)
CMYKcmyk(0%, 17.5%, 59.2%, 5.9%)
CIE-LABlab(81.73, 3.67, 54.77)
CIE-LCHlch(81.73, 54.89, 86.16°)
OKLaboklab(84.39% 0.0075 0.1272)
OKLCHoklch(84.39% 0.127 86.6)
XYZxyz(58.3367, 59.7986, 20.0225)
Luminance0.5979 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C662 #628CF0
analogous
#F07F62 #F0C662 #D3F062
triadic
#F0C662 #62F0C6 #C662F0
tetradic
#F0C662 #62F07F #628CF0 #F062D3
square
#F0C662 #62F07F #628CF0 #F062D3
split-complementary
#F0C662 #62D3F0 #7F62F0
monochromatic
#C59013 #EBB22A #F0C662 #F5DA9A #FBEFD2

Accessibility & contrast

On white

1.62
#F0C662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#F0C662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C662
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C662#FFFFFF#000000##000000
##F0C6621.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC558
Deuteranopia (green-blind)
#E4D066
Tritanopia (blue-blind)
#FFB7B0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #f0c662;
/* rgb */ color: rgb(240, 198, 98);
/* oklch */ color: oklch(84.4% 0.127 86.6);
Tailwind
colors: {
  custom: {
    50: '#f8d792',
    500: '#f0c662',
    950: '#000000',
  },
}
SCSS
$custom: #f0c662;
$custom-light: #f8d792;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c662",
  "rgb": {
    "r": 240,
    "g": 198,
    "b": 98
  },
  "hsl": {
    "h": 42.254,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.8439,
    "c": 0.12742,
    "h": 86.6
  },
  "luminance": 0.59795
}

Semantic roles & 50–950 ramp

primary
#F0C662
secondary
#345EC2
accent
#47DF07
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F0C662

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

Preview Lab → · Contrast checker → · Palette generator →

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