#F0CF79#F0CF79

#F0CF79 is a very light, moderate orange. Relative luminance 0.645; OKLCH L 86.5% C 0.112 H 89.0°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#F0CF79
RGBrgb(240, 207, 121)
HSLhsl(43, 80%, 71%)
HSVhsv(43, 50%, 94%)
CMYKcmyk(0%, 13.7%, 49.6%, 5.9%)
CIE-LABlab(84.24, 0.85, 46.73)
CIE-LCHlch(84.24, 46.74, 88.96°)
OKLaboklab(86.46% 0.0019 0.1118)
OKLCHoklch(86.46% 0.112 89)
XYZxyz(61.7014, 64.5343, 27.2918)
Luminance0.6453 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CF79 #799AF0
analogous
#F09379 #F0CF79 #D6F079
triadic
#F0CF79 #79F0CF #CF79F0
tetradic
#F0CF79 #79F093 #799AF0 #F079D6
square
#F0CF79 #79F093 #799AF0 #F079D6
split-complementary
#F0CF79 #79D6F0 #9379F0
monochromatic
#D7A218 #EABB42 #F0CF79 #F6E3B0 #FCF5E3

Accessibility & contrast

On white

1.51
#F0CF79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.91
#F0CF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CF79
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CF79#FFFFFF#000000##000000
##F0CF791.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD72
Deuteranopia (green-blind)
#E9D67C
Tritanopia (blue-blind)
#FFC2BA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f0cf79;
/* rgb */ color: rgb(240, 207, 121);
/* oklch */ color: oklch(86.5% 0.112 89.0);
Tailwind
colors: {
  custom: {
    50: '#f7dda1',
    500: '#f0cf79',
    950: '#000000',
  },
}
SCSS
$custom: #f0cf79;
$custom-light: #f7dda1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cf79",
  "rgb": {
    "r": 240,
    "g": 207,
    "b": 121
  },
  "hsl": {
    "h": 43.361,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.86456,
    "c": 0.11186,
    "h": 89
  },
  "luminance": 0.64531
}

Semantic roles & 50–950 ramp

primary
#F0CF79
secondary
#4369CA
accent
#44DC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0CF79

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

Preview Lab → · Contrast checker → · Palette generator →

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