#F0CF8A#F0CF8A

#F0CF8A is a very light, moderate orange. Relative luminance 0.650; OKLCH L 86.7% C 0.095 H 85.0°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#F0CF8A
RGBrgb(240, 207, 138)
HSLhsl(41, 77%, 74%)
HSVhsv(41, 43%, 94%)
CMYKcmyk(0%, 13.7%, 42.5%, 5.9%)
CIE-LABlab(84.48, 2.48, 38.52)
CIE-LCHlch(84.48, 38.60, 86.32°)
OKLaboklab(86.72% 0.0083 0.0943)
OKLCHoklch(86.72% 0.095 85)
XYZxyz(62.8373, 64.9886, 33.2740)
Luminance0.6499 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CF8A #8AABF0
analogous
#F09C8A #F0CF8A #DEF08A
triadic
#F0CF8A #8AF0CF #CF8AF0
tetradic
#F0CF8A #8AF09C #8AABF0 #F08ADE
square
#F0CF8A #8AF09C #8AABF0 #F08ADE
split-complementary
#F0CF8A #8ADEF0 #9C8AF0
monochromatic
#E2A21E #E9B954 #F0CF8A #F7E5C0 #FCF4E4

Accessibility & contrast

On white

1.50
#F0CF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#F0CF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CF8A
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CF8A#FFFFFF#000000##000000
##F0CF8A1.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCE85
Deuteranopia (green-blind)
#E7D68C
Tritanopia (blue-blind)
#FFC4BE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f0cf8a;
/* rgb */ color: rgb(240, 207, 138);
/* oklch */ color: oklch(86.7% 0.095 85.0);
Tailwind
colors: {
  custom: {
    50: '#f6ddad',
    500: '#f0cf8a',
    950: '#000000',
  },
}
SCSS
$custom: #f0cf8a;
$custom-light: #f6ddad;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cf8a",
  "rgb": {
    "r": 240,
    "g": 207,
    "b": 138
  },
  "hsl": {
    "h": 40.588,
    "s": 77.273,
    "l": 74.118
  },
  "oklch": {
    "l": 0.86718,
    "c": 0.09469,
    "h": 85
  },
  "luminance": 0.64986
}

Semantic roles & 50–950 ramp

primary
#F0CF8A
secondary
#537ACC
accent
#4EDA0C
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F0CF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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