#F0CC61#F0CC61

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

Color values

HEX#F0CC61
RGBrgb(240, 204, 97)
HSLhsl(45, 83%, 66%)
HSVhsv(45, 60%, 94%)
CMYKcmyk(0%, 15%, 59.6%, 5.9%)
CIE-LABlab(83.22, 0.50, 56.92)
CIE-LCHlch(83.22, 56.92, 89.49°)
OKLaboklab(85.56% -0.0018 0.1317)
OKLCHoklch(85.56% 0.132 90.8)
XYZxyz(59.6884, 62.5772, 20.2416)
Luminance0.6257 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CC61 #6185F0
analogous
#F08461 #F0CC61 #CCF061
triadic
#F0CC61 #61F0CC #CC61F0
tetradic
#F0CC61 #61F084 #6185F0 #F061CC
square
#F0CC61 #61F084 #6185F0 #F061CC
split-complementary
#F0CC61 #61CCF0 #8461F0
monochromatic
#C49713 #EBBA29 #F0CC61 #F5DE99 #FBF0D1

Accessibility & contrast

On white

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

On black

13.51
#F0CC61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CC61
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CC61#FFFFFF#000000##000000
##F0CC611.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0cc61;
/* rgb */ color: rgb(240, 204, 97);
/* oklch */ color: oklch(85.6% 0.132 90.8);
Tailwind
colors: {
  custom: {
    50: '#f8db91',
    500: '#f0cc61',
    950: '#000000',
  },
}
SCSS
$custom: #f0cc61;
$custom-light: #f8db91;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cc61",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 97
  },
  "hsl": {
    "h": 44.895,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.85562,
    "c": 0.13173,
    "h": 90.8
  },
  "luminance": 0.62574
}

Semantic roles & 50–950 ramp

primary
#F0CC61
secondary
#3457C2
accent
#3DDF06
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F0CC61

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

Preview Lab → · Contrast checker → · Palette generator →

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