#F0B962#F0B962

#F0B962 is a light, vivid orange. Relative luminance 0.541; OKLCH L 81.9% C 0.122 H 77.1°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#F0B962
RGBrgb(240, 185, 98)
HSLhsl(37, 83%, 66%)
HSVhsv(37, 59%, 94%)
CMYKcmyk(0%, 22.9%, 59.2%, 5.9%)
CIE-LABlab(78.53, 10.46, 51.07)
CIE-LCHlch(78.53, 52.13, 78.43°)
OKLaboklab(81.88% 0.0273 0.1192)
OKLCHoklch(81.88% 0.122 77.1)
XYZxyz(55.4917, 54.1088, 19.0742)
Luminance0.5411 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0B962 #6299F0
analogous
#F07262 #F0B962 #E0F062
triadic
#F0B962 #62F0B9 #B962F0
tetradic
#F0B962 #62F072 #6299F0 #F062E0
square
#F0B962 #62F072 #6299F0 #F062E0
split-complementary
#F0B962 #62E0F0 #7262F0
monochromatic
#C58013 #EBA02A #F0B962 #F5D29A #FBEBD2

Accessibility & contrast

On white

1.78
#F0B962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#F0B962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0B962
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0B962#FFFFFF#000000##000000
##F0B9621.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA5A
Deuteranopia (green-blind)
#DBC865
Tritanopia (blue-blind)
#FFAAA5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #f0b962;
/* rgb */ color: rgb(240, 185, 98);
/* oklch */ color: oklch(81.9% 0.122 77.1);
Tailwind
colors: {
  custom: {
    50: '#f8cd91',
    500: '#f0b962',
    950: '#000000',
  },
}
SCSS
$custom: #f0b962;
$custom-light: #f8cd91;
$custom-dark: #000000;
JSON
{
  "hex": "#f0b962",
  "rgb": {
    "r": 240,
    "g": 185,
    "b": 98
  },
  "hsl": {
    "h": 36.761,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.81875,
    "c": 0.1223,
    "h": 77.1
  },
  "luminance": 0.54105
}

Semantic roles & 50–950 ramp

primary
#F0B962
secondary
#346BC2
accent
#5ADF07
background
#FFFEFC
surface
#FFFAF4
border
#D7D3CE
text
#18130D
muted
#86837F

Preview Lab

Preview with #F0B962

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

Preview Lab → · Contrast checker → · Palette generator →

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