#F0CC62#F0CC62

#F0CC62 is a very light, vivid orange. Relative luminance 0.626; OKLCH L 85.6% C 0.131 H 90.7°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#F0CC62
RGBrgb(240, 204, 98)
HSLhsl(45, 83%, 66%)
HSVhsv(45, 59%, 94%)
CMYKcmyk(0%, 15%, 59.2%, 5.9%)
CIE-LABlab(83.23, 0.57, 56.48)
CIE-LCHlch(83.23, 56.48, 89.42°)
OKLaboklab(85.57% -0.0015 0.1309)
OKLCHoklch(85.57% 0.131 90.7)
XYZxyz(59.7354, 62.5960, 20.4887)
Luminance0.6259 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CC62 #6286F0
analogous
#F08562 #F0CC62 #CDF062
triadic
#F0CC62 #62F0CC #CC62F0
tetradic
#F0CC62 #62F085 #6286F0 #F062CD
square
#F0CC62 #62F085 #6286F0 #F062CD
split-complementary
#F0CC62 #62CDF0 #8562F0
monochromatic
#C59813 #EBBA2A #F0CC62 #F5DE9A #FBF0D2

Accessibility & contrast

On white

1.55
#F0CC62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#F0CC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CC62
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CC62#FFFFFF#000000##000000
##F0CC621.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C957
Deuteranopia (green-blind)
#E9D466
Tritanopia (blue-blind)
#FFBDB4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #f0cc62;
/* rgb */ color: rgb(240, 204, 98);
/* oklch */ color: oklch(85.6% 0.131 90.7);
Tailwind
colors: {
  custom: {
    50: '#f8db92',
    500: '#f0cc62',
    950: '#000000',
  },
}
SCSS
$custom: #f0cc62;
$custom-light: #f8db92;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cc62",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 98
  },
  "hsl": {
    "h": 44.789,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.85573,
    "c": 0.1309,
    "h": 90.7
  },
  "luminance": 0.62593
}

Semantic roles & 50–950 ramp

primary
#F0CC62
secondary
#3458C2
accent
#3DDF07
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F0CC62

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

Preview Lab → · Contrast checker → · Palette generator →

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