#F0B662#F0B662

#F0B662 is a light, vivid orange. Relative luminance 0.529; OKLCH L 81.3% C 0.122 H 74.8°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#F0B662
RGBrgb(240, 182, 98)
HSLhsl(35, 83%, 66%)
HSVhsv(35, 59%, 94%)
CMYKcmyk(0%, 24.2%, 59.2%, 5.9%)
CIE-LABlab(77.80, 12.04, 50.22)
CIE-LCHlch(77.80, 51.64, 76.52°)
OKLaboklab(81.3% 0.032 0.1174)
OKLCHoklch(81.3% 0.122 74.8)
XYZxyz(54.8708, 52.8668, 18.8672)
Luminance0.5286 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0B662 #629CF0
analogous
#F06F62 #F0B662 #E3F062
triadic
#F0B662 #62F0B6 #B662F0
tetradic
#F0B662 #62F06F #629CF0 #F062E3
square
#F0B662 #62F06F #629CF0 #F062E3
split-complementary
#F0B662 #62E3F0 #6F62F0
monochromatic
#C57C13 #EB9C2A #F0B662 #F5D09A #FBEAD2

Accessibility & contrast

On white

1.81
#F0B662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#F0B662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0B662
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0B662#FFFFFF#000000##000000
##F0B6621.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB85A
Deuteranopia (green-blind)
#D9C664
Tritanopia (blue-blind)
#FFA7A3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #f0b662;
/* rgb */ color: rgb(240, 182, 98);
/* oklch */ color: oklch(81.3% 0.122 74.8);
Tailwind
colors: {
  custom: {
    50: '#f8cb91',
    500: '#f0b662',
    950: '#000000',
  },
}
SCSS
$custom: #f0b662;
$custom-light: #f8cb91;
$custom-dark: #000000;
JSON
{
  "hex": "#f0b662",
  "rgb": {
    "r": 240,
    "g": 182,
    "b": 98
  },
  "hsl": {
    "h": 35.493,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.81304,
    "c": 0.12164,
    "h": 74.8
  },
  "luminance": 0.52863
}

Semantic roles & 50–950 ramp

primary
#F0B662
secondary
#346EC2
accent
#5FDF07
background
#FFFDFC
surface
#FFF9F4
border
#D7D2CE
text
#18130D
muted
#86827F

Preview Lab

Preview with #F0B662

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

Preview Lab → · Contrast checker → · Palette generator →

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