#F0C161#F0C161

#F0C161 is a very light, vivid orange. Relative luminance 0.575; OKLCH L 83.4% C 0.126 H 83.3°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#F0C161
RGBrgb(240, 193, 97)
HSLhsl(40, 83%, 66%)
HSVhsv(40, 60%, 94%)
CMYKcmyk(0%, 19.6%, 59.6%, 5.9%)
CIE-LABlab(80.48, 6.20, 53.80)
CIE-LCHlch(80.48, 54.16, 83.42°)
OKLaboklab(83.4% 0.0147 0.125)
OKLCHoklch(83.4% 0.126 83.3)
XYZxyz(57.1657, 57.5318, 19.4007)
Luminance0.5753 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C161 #6190F0
analogous
#F07961 #F0C161 #D7F061
triadic
#F0C161 #61F0C1 #C161F0
tetradic
#F0C161 #61F079 #6190F0 #F061D7
square
#F0C161 #61F079 #6190F0 #F061D7
split-complementary
#F0C161 #61D7F0 #7961F0
monochromatic
#C48A13 #EBAB29 #F0C161 #F5D799 #FBEDD1

Accessibility & contrast

On white

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

On black

12.51
#F0C161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C161
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C161#FFFFFF#000000##000000
##F0C1611.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C158
Deuteranopia (green-blind)
#E1CD64
Tritanopia (blue-blind)
#FFB2AB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #f0c161;
/* rgb */ color: rgb(240, 193, 97);
/* oklch */ color: oklch(83.4% 0.126 83.3);
Tailwind
colors: {
  custom: {
    50: '#f8d391',
    500: '#f0c161',
    950: '#000000',
  },
}
SCSS
$custom: #f0c161;
$custom-light: #f8d391;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c161",
  "rgb": {
    "r": 240,
    "g": 193,
    "b": 97
  },
  "hsl": {
    "h": 40.28,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.83403,
    "c": 0.12586,
    "h": 83.3
  },
  "luminance": 0.57528
}

Semantic roles & 50–950 ramp

primary
#F0C161
secondary
#3462C2
accent
#4EDF06
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F0C161

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

Preview Lab → · Contrast checker → · Palette generator →

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