#F0CC8A#F0CC8A

#F0CC8A is a very light, moderate orange. Relative luminance 0.635; OKLCH L 86.1% C 0.093 H 82.1°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#F0CC8A
RGBrgb(240, 204, 138)
HSLhsl(39, 77%, 74%)
HSVhsv(39, 43%, 94%)
CMYKcmyk(0%, 15%, 42.5%, 5.9%)
CIE-LABlab(83.73, 4.03, 37.56)
CIE-LCHlch(83.73, 37.78, 83.87°)
OKLaboklab(86.13% 0.0128 0.0921)
OKLCHoklch(86.13% 0.093 82.1)
XYZxyz(62.1174, 63.5488, 33.0340)
Luminance0.6355 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CC8A #8AAEF0
analogous
#F0998A #F0CC8A #E1F08A
triadic
#F0CC8A #8AF0CC #CC8AF0
tetradic
#F0CC8A #8AF099 #8AAEF0 #F08AE1
square
#F0CC8A #8AF099 #8AAEF0 #F08AE1
split-complementary
#F0CC8A #8AE1F0 #998AF0
monochromatic
#E29D1E #E9B454 #F0CC8A #F7E4C0 #FCF3E4

Accessibility & contrast

On white

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

On black

13.71
#F0CC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CC8A
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CC8A#FFFFFF#000000##000000
##F0CC8A1.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0cc8a;
/* rgb */ color: rgb(240, 204, 138);
/* oklch */ color: oklch(86.1% 0.093 82.1);
Tailwind
colors: {
  custom: {
    50: '#f7dbad',
    500: '#f0cc8a',
    950: '#000000',
  },
}
SCSS
$custom: #f0cc8a;
$custom-light: #f7dbad;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cc8a",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 138
  },
  "hsl": {
    "h": 38.824,
    "s": 77.273,
    "l": 74.118
  },
  "oklch": {
    "l": 0.8613,
    "c": 0.09301,
    "h": 82.1
  },
  "luminance": 0.63546
}

Semantic roles & 50–950 ramp

primary
#F0CC8A
secondary
#537DCC
accent
#55DA0C
background
#FFFEFD
surface
#FFFBF7
border
#D7D4D0
text
#171510
muted
#858481

Preview Lab

Preview with #F0CC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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