#F0CC84#F0CC84

#F0CC84 is a very light, moderate orange. Relative luminance 0.634; OKLCH L 86.0% C 0.099 H 83.9°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#F0CC84
RGBrgb(240, 204, 132)
HSLhsl(40, 78%, 73%)
HSVhsv(40, 45%, 94%)
CMYKcmyk(0%, 15%, 45%, 5.9%)
CIE-LABlab(83.64, 3.43, 40.49)
CIE-LCHlch(83.64, 40.64, 85.16°)
OKLaboklab(86.03% 0.0105 0.0985)
OKLCHoklch(86.03% 0.099 83.9)
XYZxyz(61.6949, 63.3798, 30.8092)
Luminance0.6338 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CC84 #84A8F0
analogous
#F09684 #F0CC84 #DEF084
triadic
#F0CC84 #84F0CC #CC84F0
tetradic
#F0CC84 #84F096 #84A8F0 #F084DE
square
#F0CC84 #84F096 #84A8F0 #F084DE
split-complementary
#F0CC84 #84DEF0 #9684F0
monochromatic
#DE9D1B #E9B54D #F0CC84 #F7E3BB #FCF4E4

Accessibility & contrast

On white

1.54
#F0CC84 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#F0CC84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CC84
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CC84#FFFFFF#000000##000000
##F0CC841.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCB7E
Deuteranopia (green-blind)
#E5D486
Tritanopia (blue-blind)
#FFC0BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f0cc84;
/* rgb */ color: rgb(240, 204, 132);
/* oklch */ color: oklch(86.0% 0.099 83.9);
Tailwind
colors: {
  custom: {
    50: '#f7dba9',
    500: '#f0cc84',
    950: '#000000',
  },
}
SCSS
$custom: #f0cc84;
$custom-light: #f7dba9;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cc84",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 132
  },
  "hsl": {
    "h": 40,
    "s": 78.261,
    "l": 72.941
  },
  "oklch": {
    "l": 0.86031,
    "c": 0.09909,
    "h": 83.9
  },
  "luminance": 0.63377
}

Semantic roles & 50–950 ramp

primary
#F0CC84
secondary
#4D77CB
accent
#50DB0B
background
#FFFEFC
surface
#FFFBF6
border
#D7D4D0
text
#171510
muted
#858480

Preview Lab

Preview with #F0CC84

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

Preview Lab → · Contrast checker → · Palette generator →

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