#F0C170#F0C170

#F0C170 is a very light, moderate orange. Relative luminance 0.578; OKLCH L 83.6% C 0.113 H 79.9°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#F0C170
RGBrgb(240, 193, 112)
HSLhsl(38, 81%, 69%)
HSVhsv(38, 53%, 94%)
CMYKcmyk(0%, 19.6%, 53.3%, 5.9%)
CIE-LABlab(80.65, 7.34, 46.77)
CIE-LCHlch(80.65, 47.35, 81.08°)
OKLaboklab(83.59% 0.0199 0.1112)
OKLCHoklch(83.59% 0.113 79.9)
XYZxyz(57.9324, 57.8384, 23.4386)
Luminance0.5784 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C170 #709FF0
analogous
#F08170 #F0C170 #DFF070
triadic
#F0C170 #70F0C1 #C170F0
tetradic
#F0C170 #70F081 #709FF0 #F070DF
square
#F0C170 #70F081 #709FF0 #F070DF
split-complementary
#F0C170 #70DFF0 #8170F0
monochromatic
#D08C16 #EAA939 #F0C170 #F6D9A7 #FCF1DF

Accessibility & contrast

On white

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

On black

12.57
#F0C170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C170
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C170#FFFFFF#000000##000000
##F0C1701.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0c170;
/* rgb */ color: rgb(240, 193, 112);
/* oklch */ color: oklch(83.6% 0.113 79.9);
Tailwind
colors: {
  custom: {
    50: '#f8d39b',
    500: '#f0c170',
    950: '#000000',
  },
}
SCSS
$custom: #f0c170;
$custom-light: #f8d39b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c170",
  "rgb": {
    "r": 240,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 37.969,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.83593,
    "c": 0.11297,
    "h": 79.9
  },
  "luminance": 0.57835
}

Semantic roles & 50–950 ramp

primary
#F0C170
secondary
#3B6FC9
accent
#56DD08
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140E
muted
#86837F

Preview Lab

Preview with #F0C170

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

Preview Lab → · Contrast checker → · Palette generator →

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