#F0C874#F0C874

#F0C874 is a very light, moderate orange. Relative luminance 0.611; OKLCH L 85.0% C 0.112 H 84.6°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#F0C874
RGBrgb(240, 200, 116)
HSLhsl(41, 81%, 70%)
HSVhsv(41, 52%, 94%)
CMYKcmyk(0%, 16.7%, 51.7%, 5.9%)
CIE-LABlab(82.43, 4.03, 46.97)
CIE-LCHlch(82.43, 47.14, 85.09°)
OKLaboklab(85.01% 0.0107 0.112)
OKLCHoklch(85.01% 0.112 84.6)
XYZxyz(59.7443, 61.0979, 25.1658)
Luminance0.6109 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C874 #749CF0
analogous
#F08A74 #F0C874 #DAF074
triadic
#F0C874 #74F0C8 #C874F0
tetradic
#F0C874 #74F08A #749CF0 #F074DA
square
#F0C874 #74F08A #749CF0 #F074DA
split-complementary
#F0C874 #74DAF0 #8A74F0
monochromatic
#D39617 #EAB23D #F0C874 #F6DEAB #FCF4E2

Accessibility & contrast

On white

1.59
#F0C874 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#F0C874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C874
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C874#FFFFFF#000000##000000
##F0C8741.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC76D
Deuteranopia (green-blind)
#E4D177
Tritanopia (blue-blind)
#FFBBB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #f0c874;
/* rgb */ color: rgb(240, 200, 116);
/* oklch */ color: oklch(85.0% 0.112 84.6);
Tailwind
colors: {
  custom: {
    50: '#f7d89e',
    500: '#f0c874',
    950: '#000000',
  },
}
SCSS
$custom: #f0c874;
$custom-light: #f7d89e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c874",
  "rgb": {
    "r": 240,
    "g": 200,
    "b": 116
  },
  "hsl": {
    "h": 40.645,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.85009,
    "c": 0.11249,
    "h": 84.6
  },
  "luminance": 0.61095
}

Semantic roles & 50–950 ramp

primary
#F0C874
secondary
#3F6CC9
accent
#4DDD09
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140E
muted
#86837F

Preview Lab

Preview with #F0C874

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

Preview Lab → · Contrast checker → · Palette generator →

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