#F0CC74#F0CC74

#F0CC74 is a very light, moderate orange. Relative luminance 0.630; OKLCH L 85.8% C 0.115 H 87.7°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#F0CC74
RGBrgb(240, 204, 116)
HSLhsl(43, 81%, 70%)
HSVhsv(43, 52%, 94%)
CMYKcmyk(0%, 15%, 51.7%, 5.9%)
CIE-LABlab(83.43, 1.96, 48.18)
CIE-LCHlch(83.43, 48.22, 87.67°)
OKLaboklab(85.8% 0.0046 0.1147)
OKLCHoklch(85.8% 0.115 87.7)
XYZxyz(60.6828, 62.9750, 25.4786)
Luminance0.6297 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CC74 #7498F0
analogous
#F08E74 #F0CC74 #D6F074
triadic
#F0CC74 #74F0CC #CC74F0
tetradic
#F0CC74 #74F08E #7498F0 #F074D6
square
#F0CC74 #74F08E #7498F0 #F074D6
split-complementary
#F0CC74 #74D6F0 #8E74F0
monochromatic
#D39C17 #EAB83D #F0CC74 #F6E0AB #FCF5E2

Accessibility & contrast

On white

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

On black

13.59
#F0CC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CC74
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CC74#FFFFFF#000000##000000
##F0CC741.001.5413.5913.59
#FFFFFF1.541.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA6C
Deuteranopia (green-blind)
#E7D477
Tritanopia (blue-blind)
#FFBFB7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f0cc74;
/* rgb */ color: rgb(240, 204, 116);
/* oklch */ color: oklch(85.8% 0.115 87.7);
Tailwind
colors: {
  custom: {
    50: '#f7db9e',
    500: '#f0cc74',
    950: '#000000',
  },
}
SCSS
$custom: #f0cc74;
$custom-light: #f7db9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cc74",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 116
  },
  "hsl": {
    "h": 42.581,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.85795,
    "c": 0.11475,
    "h": 87.7
  },
  "luminance": 0.62972
}

Semantic roles & 50–950 ramp

primary
#F0CC74
secondary
#3F67C9
accent
#46DD09
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140E
muted
#86837F

Preview Lab

Preview with #F0CC74

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

Preview Lab → · Contrast checker → · Palette generator →

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