#F0C474#F0C474

#F0C474 is a very light, moderate orange. Relative luminance 0.593; OKLCH L 84.2% C 0.111 H 81.3°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#F0C474
RGBrgb(240, 196, 116)
HSLhsl(39, 81%, 70%)
HSVhsv(39, 52%, 94%)
CMYKcmyk(0%, 18.3%, 51.7%, 5.9%)
CIE-LABlab(81.44, 6.11, 45.76)
CIE-LCHlch(81.44, 46.16, 82.39°)
OKLaboklab(84.23% 0.0168 0.1093)
OKLCHoklch(84.23% 0.111 81.3)
XYZxyz(58.8300, 59.2694, 24.8610)
Luminance0.5927 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C474 #74A0F0
analogous
#F08674 #F0C474 #DEF074
triadic
#F0C474 #74F0C4 #C474F0
tetradic
#F0C474 #74F086 #74A0F0 #F074DE
square
#F0C474 #74F086 #74A0F0 #F074DE
split-complementary
#F0C474 #74DEF0 #8674F0
monochromatic
#D39017 #EAAD3D #F0C474 #F6DBAB #FCF3E2

Accessibility & contrast

On white

1.63
#F0C474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#F0C474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C474
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C474#FFFFFF#000000##000000
##F0C4741.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46D
Deuteranopia (green-blind)
#E1CF76
Tritanopia (blue-blind)
#FFB7B1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #f0c474;
/* rgb */ color: rgb(240, 196, 116);
/* oklch */ color: oklch(84.2% 0.111 81.3);
Tailwind
colors: {
  custom: {
    50: '#f7d59d',
    500: '#f0c474',
    950: '#000000',
  },
}
SCSS
$custom: #f0c474;
$custom-light: #f7d59d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c474",
  "rgb": {
    "r": 240,
    "g": 196,
    "b": 116
  },
  "hsl": {
    "h": 38.71,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.8423,
    "c": 0.11057,
    "h": 81.3
  },
  "luminance": 0.59266
}

Semantic roles & 50–950 ramp

primary
#F0C474
secondary
#3F70C9
accent
#54DD09
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140E
muted
#86837F

Preview Lab

Preview with #F0C474

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

Preview Lab → · Contrast checker → · Palette generator →

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