#F0B951#F0B951

#F0B951 is a light, vivid orange. Relative luminance 0.538; OKLCH L 81.7% C 0.135 H 80.7°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#F0B951
RGBrgb(240, 185, 81)
HSLhsl(39, 84%, 63%)
HSVhsv(39, 66%, 94%)
CMYKcmyk(0%, 22.9%, 66.3%, 5.9%)
CIE-LABlab(78.36, 9.37, 58.74)
CIE-LCHlch(78.36, 59.48, 80.94°)
OKLaboklab(81.69% 0.0219 0.1334)
OKLCHoklch(81.69% 0.135 80.7)
XYZxyz(54.7726, 53.8211, 15.2867)
Luminance0.5382 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0B951 #5188F0
analogous
#F06951 #F0B951 #D8F051
triadic
#F0B951 #51F0B9 #B951F0
tetradic
#F0B951 #51F069 #5188F0 #F051D8
square
#F0B951 #51F069 #5188F0 #F051D8
split-complementary
#F0B951 #51D8F0 #6951F0
monochromatic
#B77D10 #EBA219 #F0B951 #F5D089 #FAE6C2

Accessibility & contrast

On white

1.79
#F0B951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#F0B951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0B951
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0B951#FFFFFF#000000##000000
##F0B9511.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA45
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#FFA9A3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #f0b951;
/* rgb */ color: rgb(240, 185, 81);
/* oklch */ color: oklch(81.7% 0.135 80.7);
Tailwind
colors: {
  custom: {
    50: '#f9cd86',
    500: '#f0b951',
    950: '#000000',
  },
}
SCSS
$custom: #f0b951;
$custom-light: #f9cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#f0b951",
  "rgb": {
    "r": 240,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 39.245,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.81689,
    "c": 0.13516,
    "h": 80.7
  },
  "luminance": 0.53817
}

Semantic roles & 50–950 ramp

primary
#F0B951
secondary
#2F5EB6
accent
#51E105
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#18130B
muted
#86837E

Preview Lab

Preview with #F0B951

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

Preview Lab → · Contrast checker → · Palette generator →

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