#F0CC71#F0CC71

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

Color values

HEX#F0CC71
RGBrgb(240, 204, 113)
HSLhsl(43, 81%, 69%)
HSVhsv(43, 53%, 94%)
CMYKcmyk(0%, 15%, 52.9%, 5.9%)
CIE-LABlab(83.39, 1.71, 49.60)
CIE-LCHlch(83.39, 49.63, 88.02°)
OKLaboklab(85.76% 0.0036 0.1175)
OKLCHoklch(85.76% 0.118 88.3)
XYZxyz(60.5111, 62.9063, 24.5744)
Luminance0.6290 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CC71 #7195F0
analogous
#F08D71 #F0CC71 #D5F071
triadic
#F0CC71 #71F0CC #CC71F0
tetradic
#F0CC71 #71F08D #7195F0 #F071D5
square
#F0CC71 #71F08D #7195F0 #F071D5
split-complementary
#F0CC71 #71D5F0 #8D71F0
monochromatic
#D19C16 #EAB83A #F0CC71 #F6E0A8 #FCF4E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0CC71#FFFFFF#000000##000000
##F0CC711.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)
#DFCA69
Deuteranopia (green-blind)
#E7D474
Tritanopia (blue-blind)
#FFBFB7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f0cc71;
/* rgb */ color: rgb(240, 204, 113);
/* oklch */ color: oklch(85.8% 0.118 88.3);
Tailwind
colors: {
  custom: {
    50: '#f7db9c',
    500: '#f0cc71',
    950: '#000000',
  },
}
SCSS
$custom: #f0cc71;
$custom-light: #f7db9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cc71",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 113
  },
  "hsl": {
    "h": 42.992,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.85755,
    "c": 0.11757,
    "h": 88.3
  },
  "luminance": 0.62903
}

Semantic roles & 50–950 ramp

primary
#F0CC71
secondary
#3C64C9
accent
#45DD08
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140E
muted
#86837F

Preview Lab

Preview with #F0CC71

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

Preview Lab → · Contrast checker → · Palette generator →

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