#F0C87F#F0C87F

#F0C87F is a very light, moderate orange. Relative luminance 0.614; OKLCH L 85.2% C 0.102 H 81.7°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#F0C87F
RGBrgb(240, 200, 127)
HSLhsl(39, 79%, 72%)
HSVhsv(39, 47%, 94%)
CMYKcmyk(0%, 16.7%, 47.1%, 5.9%)
CIE-LABlab(82.58, 5.02, 41.67)
CIE-LCHlch(82.58, 41.97, 83.13°)
OKLaboklab(85.17% 0.0147 0.1009)
OKLCHoklch(85.17% 0.102 81.7)
XYZxyz(60.4224, 61.3692, 28.7374)
Luminance0.6137 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C87F #7FA7F0
analogous
#F0907F #F0C87F #E0F07F
triadic
#F0C87F #7FF0C8 #C87FF0
tetradic
#F0C87F #7FF090 #7FA7F0 #F07FE0
square
#F0C87F #7FF090 #7FA7F0 #F07FE0
split-complementary
#F0C87F #7FE0F0 #907FF0
monochromatic
#DB971A #EAB048 #F0C87F #F6E0B6 #FCF3E4

Accessibility & contrast

On white

1.58
#F0C87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#F0C87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C87F
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C87F#FFFFFF#000000##000000
##F0C87F1.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C879
Deuteranopia (green-blind)
#E3D281
Tritanopia (blue-blind)
#FFBCB6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #f0c87f;
/* rgb */ color: rgb(240, 200, 127);
/* oklch */ color: oklch(85.2% 0.102 81.7);
Tailwind
colors: {
  custom: {
    50: '#f7d8a5',
    500: '#f0c87f',
    950: '#000000',
  },
}
SCSS
$custom: #f0c87f;
$custom-light: #f7d8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c87f",
  "rgb": {
    "r": 240,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 38.761,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.85171,
    "c": 0.10198,
    "h": 81.7
  },
  "luminance": 0.61366
}

Semantic roles & 50–950 ramp

primary
#F0C87F
secondary
#4977CB
accent
#54DB0A
background
#FFFEFC
surface
#FFFBF6
border
#D7D4D0
text
#17140F
muted
#858380

Preview Lab

Preview with #F0C87F

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

Preview Lab → · Contrast checker → · Palette generator →

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