#F0C173#F0C173

#F0C173 is a very light, moderate orange. Relative luminance 0.579; OKLCH L 83.6% C 0.110 H 79.0°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#F0C173
RGBrgb(240, 193, 115)
HSLhsl(37, 81%, 70%)
HSVhsv(37, 52%, 94%)
CMYKcmyk(0%, 19.6%, 52.1%, 5.9%)
CIE-LABlab(80.69, 7.59, 45.33)
CIE-LCHlch(80.69, 45.96, 80.49°)
OKLaboklab(83.64% 0.021 0.1083)
OKLCHoklch(83.64% 0.11 79)
XYZxyz(58.1022, 57.9064, 24.3330)
Luminance0.5790 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C173 #73A2F0
analogous
#F08373 #F0C173 #E1F073
triadic
#F0C173 #73F0C1 #C173F0
tetradic
#F0C173 #73F083 #73A2F0 #F073E1
square
#F0C173 #73F083 #73A2F0 #F073E1
split-complementary
#F0C173 #73E1F0 #8373F0
monochromatic
#D28C17 #EAA93C #F0C173 #F6D9AA #FCF2E2

Accessibility & contrast

On white

1.67
#F0C173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#F0C173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C173
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C173#FFFFFF#000000##000000
##F0C1731.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C16C
Deuteranopia (green-blind)
#DFCD75
Tritanopia (blue-blind)
#FFB3AE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #f0c173;
/* rgb */ color: rgb(240, 193, 115);
/* oklch */ color: oklch(83.6% 0.110 79.0);
Tailwind
colors: {
  custom: {
    50: '#f8d39d',
    500: '#f0c173',
    950: '#000000',
  },
}
SCSS
$custom: #f0c173;
$custom-light: #f8d39d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c173",
  "rgb": {
    "r": 240,
    "g": 193,
    "b": 115
  },
  "hsl": {
    "h": 37.44,
    "s": 80.645,
    "l": 69.608
  },
  "oklch": {
    "l": 0.83635,
    "c": 0.11028,
    "h": 79
  },
  "luminance": 0.57903
}

Semantic roles & 50–950 ramp

primary
#F0C173
secondary
#3E72C9
accent
#58DD09
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140E
muted
#86837F

Preview Lab

Preview with #F0C173

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

Preview Lab → · Contrast checker → · Palette generator →

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