#F0B262#F0B262

#F0B262 is a light, vivid orange. Relative luminance 0.512; OKLCH L 80.5% C 0.121 H 71.6°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#F0B262
RGBrgb(240, 178, 98)
HSLhsl(34, 83%, 66%)
HSVhsv(34, 59%, 94%)
CMYKcmyk(0%, 25.8%, 59.2%, 5.9%)
CIE-LABlab(76.83, 14.14, 49.09)
CIE-LCHlch(76.83, 51.08, 73.93°)
OKLaboklab(80.55% 0.0382 0.1149)
OKLCHoklch(80.55% 0.121 71.6)
XYZxyz(54.0633, 51.2518, 18.5980)
Luminance0.5125 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0B262 #62A0F0
analogous
#F06B62 #F0B262 #E7F062
triadic
#F0B262 #62F0B2 #B262F0
tetradic
#F0B262 #62F06B #62A0F0 #F062E7
square
#F0B262 #62F06B #62A0F0 #F062E7
split-complementary
#F0B262 #62E7F0 #6B62F0
monochromatic
#C57713 #EB972A #F0B262 #F5CD9A #FBE9D2

Accessibility & contrast

On white

1.87
#F0B262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#F0B262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0B262
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0B262#FFFFFF#000000##000000
##F0B2621.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B55B
Deuteranopia (green-blind)
#D6C464
Tritanopia (blue-blind)
#FFA39F
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #f0b262;
/* rgb */ color: rgb(240, 178, 98);
/* oklch */ color: oklch(80.5% 0.121 71.6);
Tailwind
colors: {
  custom: {
    50: '#f9c991',
    500: '#f0b262',
    950: '#000000',
  },
}
SCSS
$custom: #f0b262;
$custom-light: #f9c991;
$custom-dark: #000000;
JSON
{
  "hex": "#f0b262",
  "rgb": {
    "r": 240,
    "g": 178,
    "b": 98
  },
  "hsl": {
    "h": 33.803,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.8055,
    "c": 0.12108,
    "h": 71.6
  },
  "luminance": 0.51248
}

Semantic roles & 50–950 ramp

primary
#F0B262
secondary
#3472C2
accent
#65DF07
background
#FFFDFC
surface
#FFF9F4
border
#D7D2CE
text
#18130D
muted
#86827F

Preview Lab

Preview with #F0B262

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

Preview Lab → · Contrast checker → · Palette generator →

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