#F0C851#F0C851

#F0C851 is a very light, vivid orange. Relative luminance 0.604; OKLCH L 84.6% C 0.142 H 90.3°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#F0C851
RGBrgb(240, 200, 81)
HSLhsl(45, 84%, 63%)
HSVhsv(45, 66%, 94%)
CMYKcmyk(0%, 16.7%, 66.3%, 5.9%)
CIE-LABlab(82.07, 1.56, 62.70)
CIE-LCHlch(82.07, 62.72, 88.57°)
OKLaboklab(84.61% -0.0007 0.1418)
OKLCHoklch(84.61% 0.142 90.3)
XYZxyz(58.0777, 60.4313, 16.3883)
Luminance0.6043 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C851 #5179F0
analogous
#F07951 #F0C851 #C8F051
triadic
#F0C851 #51F0C8 #C851F0
tetradic
#F0C851 #51F079 #5179F0 #F051C8
square
#F0C851 #51F079 #5179F0 #F051C8
split-complementary
#F0C851 #51C8F0 #7951F0
monochromatic
#B78D10 #EBB619 #F0C851 #F5DA89 #FAECC2

Accessibility & contrast

On white

1.60
#F0C851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#F0C851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C851
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C851#FFFFFF#000000##000000
##F0C8511.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC643
Deuteranopia (green-blind)
#E7D157
Tritanopia (blue-blind)
#FFB8AF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #f0c851;
/* rgb */ color: rgb(240, 200, 81);
/* oklch */ color: oklch(84.6% 0.142 90.3);
Tailwind
colors: {
  custom: {
    50: '#f9d887',
    500: '#f0c851',
    950: '#000000',
  },
}
SCSS
$custom: #f0c851;
$custom-light: #f9d887;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c851",
  "rgb": {
    "r": 240,
    "g": 200,
    "b": 81
  },
  "hsl": {
    "h": 44.906,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84611,
    "c": 0.14179,
    "h": 90.3
  },
  "luminance": 0.60428
}

Semantic roles & 50–950 ramp

primary
#F0C851
secondary
#2F51B6
accent
#3CE105
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F0C851

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

Preview Lab → · Contrast checker → · Palette generator →

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