#F0CD87#F0CD87

#F0CD87 is a very light, moderate orange. Relative luminance 0.639; OKLCH L 86.3% C 0.097 H 84.0°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#F0CD87
RGBrgb(240, 205, 135)
HSLhsl(40, 78%, 74%)
HSVhsv(40, 44%, 94%)
CMYKcmyk(0%, 14.6%, 43.8%, 5.9%)
CIE-LABlab(83.93, 3.21, 39.35)
CIE-LCHlch(83.93, 39.48, 85.34°)
OKLaboklab(86.28% 0.0102 0.0961)
OKLCHoklch(86.28% 0.097 84)
XYZxyz(62.1416, 63.9400, 31.9854)
Luminance0.6394 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CD87 #87AAF0
analogous
#F09887 #F0CD87 #DEF087
triadic
#F0CD87 #87F0CD #CD87F0
tetradic
#F0CD87 #87F098 #87AAF0 #F087DE
square
#F0CD87 #87F098 #87AAF0 #F087DE
split-complementary
#F0CD87 #87DEF0 #9887F0
monochromatic
#E19F1C #E9B651 #F0CD87 #F7E4BD #FCF4E4

Accessibility & contrast

On white

1.52
#F0CD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#F0CD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CD87
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CD87#FFFFFF#000000##000000
##F0CD871.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCC82
Deuteranopia (green-blind)
#E6D589
Tritanopia (blue-blind)
#FFC1BB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f0cd87;
/* rgb */ color: rgb(240, 205, 135);
/* oklch */ color: oklch(86.3% 0.097 84.0);
Tailwind
colors: {
  custom: {
    50: '#f7dcab',
    500: '#f0cd87',
    950: '#000000',
  },
}
SCSS
$custom: #f0cd87;
$custom-light: #f7dcab;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cd87",
  "rgb": {
    "r": 240,
    "g": 205,
    "b": 135
  },
  "hsl": {
    "h": 40,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.86276,
    "c": 0.09662,
    "h": 84
  },
  "luminance": 0.63937
}

Semantic roles & 50–950 ramp

primary
#F0CD87
secondary
#5079CB
accent
#50DA0B
background
#FFFEFD
surface
#FFFBF7
border
#D7D4D0
text
#171510
muted
#858481

Preview Lab

Preview with #F0CD87

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

Preview Lab → · Contrast checker → · Palette generator →

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