#F0C751#F0C751

#F0C751 is a very light, vivid orange. Relative luminance 0.600; OKLCH L 84.4% C 0.141 H 89.7°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#F0C751
RGBrgb(240, 199, 81)
HSLhsl(45, 84%, 63%)
HSVhsv(45, 66%, 94%)
CMYKcmyk(0%, 17.1%, 66.3%, 5.9%)
CIE-LABlab(81.82, 2.08, 62.44)
CIE-LCHlch(81.82, 62.47, 88.09°)
OKLaboklab(84.41% 0.0008 0.1412)
OKLCHoklch(84.41% 0.141 89.7)
XYZxyz(57.8468, 59.9696, 16.3114)
Luminance0.5997 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C751 #517AF0
analogous
#F07751 #F0C751 #CAF051
triadic
#F0C751 #51F0C7 #C751F0
tetradic
#F0C751 #51F077 #517AF0 #F051CA
square
#F0C751 #51F077 #517AF0 #F051CA
split-complementary
#F0C751 #51CAF0 #7751F0
monochromatic
#B78C10 #EBB519 #F0C751 #F5D989 #FAEBC2

Accessibility & contrast

On white

1.62
#F0C751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#F0C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C751
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C751#FFFFFF#000000##000000
##F0C7511.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC543
Deuteranopia (green-blind)
#E6D056
Tritanopia (blue-blind)
#FFB7AE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #f0c751;
/* rgb */ color: rgb(240, 199, 81);
/* oklch */ color: oklch(84.4% 0.141 89.7);
Tailwind
colors: {
  custom: {
    50: '#f9d787',
    500: '#f0c751',
    950: '#000000',
  },
}
SCSS
$custom: #f0c751;
$custom-light: #f9d787;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c751",
  "rgb": {
    "r": 240,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 44.528,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84413,
    "c": 0.14123,
    "h": 89.7
  },
  "luminance": 0.59966
}

Semantic roles & 50–950 ramp

primary
#F0C751
secondary
#2F52B6
accent
#3EE105
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #F0C751

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

Preview Lab → · Contrast checker → · Palette generator →

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