#F0CC70#F0CC70

#F0CC70 is a very light, moderate orange. Relative luminance 0.629; OKLCH L 85.7% C 0.118 H 88.5°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#F0CC70
RGBrgb(240, 204, 112)
HSLhsl(43, 81%, 69%)
HSVhsv(43, 53%, 94%)
CMYKcmyk(0%, 15%, 53.3%, 5.9%)
CIE-LABlab(83.38, 1.63, 50.07)
CIE-LCHlch(83.38, 50.09, 88.13°)
OKLaboklab(85.74% 0.0032 0.1185)
OKLCHoklch(85.74% 0.119 88.5)
XYZxyz(60.4551, 62.8839, 24.2795)
Luminance0.6288 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CC70 #7094F0
analogous
#F08C70 #F0CC70 #D4F070
triadic
#F0CC70 #70F0CC #CC70F0
tetradic
#F0CC70 #70F08C #7094F0 #F070D4
square
#F0CC70 #70F08C #7094F0 #F070D4
split-complementary
#F0CC70 #70D4F0 #8C70F0
monochromatic
#D09B16 #EAB839 #F0CC70 #F6E0A7 #FCF4DF

Accessibility & contrast

On white

1.55
#F0CC70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#F0CC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CC70
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CC70#FFFFFF#000000##000000
##F0CC701.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCA68
Deuteranopia (green-blind)
#E7D473
Tritanopia (blue-blind)
#FFBEB7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f0cc70;
/* rgb */ color: rgb(240, 204, 112);
/* oklch */ color: oklch(85.7% 0.118 88.5);
Tailwind
colors: {
  custom: {
    50: '#f7db9b',
    500: '#f0cc70',
    950: '#000000',
  },
}
SCSS
$custom: #f0cc70;
$custom-light: #f7db9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cc70",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 112
  },
  "hsl": {
    "h": 43.125,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.85742,
    "c": 0.1185,
    "h": 88.5
  },
  "luminance": 0.62881
}

Semantic roles & 50–950 ramp

primary
#F0CC70
secondary
#3B63C9
accent
#44DD08
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140E
muted
#86837F

Preview Lab

Preview with #F0CC70

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

Preview Lab → · Contrast checker → · Palette generator →

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