#F0CC8D#F0CC8D

#F0CC8D is a very light, moderate orange. Relative luminance 0.636; OKLCH L 86.2% C 0.090 H 81.0°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#F0CC8D
RGBrgb(240, 204, 141)
HSLhsl(38, 77%, 75%)
HSVhsv(38, 41%, 94%)
CMYKcmyk(0%, 15%, 41.3%, 5.9%)
CIE-LABlab(83.78, 4.35, 36.08)
CIE-LCHlch(83.78, 36.35, 83.13°)
OKLaboklab(86.18% 0.014 0.0888)
OKLCHoklch(86.18% 0.09 81)
XYZxyz(62.3376, 63.6369, 34.1937)
Luminance0.6363 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CC8D #8DB1F0
analogous
#F09B8D #F0CC8D #E2F08D
triadic
#F0CC8D #8DF0CC #CC8DF0
tetradic
#F0CC8D #8DF09B #8DB1F0 #F08DE2
square
#F0CC8D #8DF09B #8DB1F0 #F08DE2
split-complementary
#F0CC8D #8DE2F0 #9B8DF0
monochromatic
#E29C21 #E9B457 #F0CC8D #F7E4C3 #FBF3E4

Accessibility & contrast

On white

1.53
#F0CC8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#F0CC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CC8D
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CC8D#FFFFFF#000000##000000
##F0CC8D1.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCC88
Deuteranopia (green-blind)
#E4D58F
Tritanopia (blue-blind)
#FFC1BC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f0cc8d;
/* rgb */ color: rgb(240, 204, 141);
/* oklch */ color: oklch(86.2% 0.090 81.0);
Tailwind
colors: {
  custom: {
    50: '#f6dbaf',
    500: '#f0cc8d',
    950: '#000000',
  },
}
SCSS
$custom: #f0cc8d;
$custom-light: #f6dbaf;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cc8d",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 141
  },
  "hsl": {
    "h": 38.182,
    "s": 76.744,
    "l": 74.706
  },
  "oklch": {
    "l": 0.86181,
    "c": 0.08994,
    "h": 81
  },
  "luminance": 0.63634
}

Semantic roles & 50–950 ramp

primary
#F0CC8D
secondary
#5580CC
accent
#57D90D
background
#FFFEFD
surface
#FFFBF7
border
#D7D4D0
text
#171510
muted
#858481

Preview Lab

Preview with #F0CC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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