#F0C166#F0C166

#F0C166 is a very light, vivid orange. Relative luminance 0.576; OKLCH L 83.5% C 0.122 H 82.3°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#F0C166
RGBrgb(240, 193, 102)
HSLhsl(40, 82%, 67%)
HSVhsv(40, 58%, 94%)
CMYKcmyk(0%, 19.6%, 57.5%, 5.9%)
CIE-LABlab(80.53, 6.56, 51.49)
CIE-LCHlch(80.53, 51.91, 82.74°)
OKLaboklab(83.46% 0.0164 0.1206)
OKLCHoklch(83.46% 0.122 82.3)
XYZxyz(57.4062, 57.6280, 20.6675)
Luminance0.5763 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C166 #6695F0
analogous
#F07C66 #F0C166 #DAF066
triadic
#F0C166 #66F0C1 #C166F0
tetradic
#F0C166 #66F07C #6695F0 #F066DA
square
#F0C166 #66F07C #6695F0 #F066DA
split-complementary
#F0C166 #66DAF0 #7C66F0
monochromatic
#C88B14 #EBAA2E #F0C166 #F5D89E #FBEED5

Accessibility & contrast

On white

1.68
#F0C166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#F0C166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C166
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C166#FFFFFF#000000##000000
##F0C1661.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C15E
Deuteranopia (green-blind)
#E0CD69
Tritanopia (blue-blind)
#FFB2AC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #f0c166;
/* rgb */ color: rgb(240, 193, 102);
/* oklch */ color: oklch(83.5% 0.122 82.3);
Tailwind
colors: {
  custom: {
    50: '#f8d394',
    500: '#f0c166',
    950: '#000000',
  },
}
SCSS
$custom: #f0c166;
$custom-light: #f8d394;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c166",
  "rgb": {
    "r": 240,
    "g": 193,
    "b": 102
  },
  "hsl": {
    "h": 39.565,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83463,
    "c": 0.12169,
    "h": 82.3
  },
  "luminance": 0.57625
}

Semantic roles & 50–950 ramp

primary
#F0C166
secondary
#3566C5
accent
#50DF07
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F0C166

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

Preview Lab → · Contrast checker → · Palette generator →

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