#F0B252#F0B252

#F0B252 is a light, vivid orange. Relative luminance 0.510; OKLCH L 80.4% C 0.133 H 75.6°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#F0B252
RGBrgb(240, 178, 82)
HSLhsl(36, 84%, 63%)
HSVhsv(36, 66%, 94%)
CMYKcmyk(0%, 25.8%, 65.8%, 5.9%)
CIE-LABlab(76.67, 13.11, 56.45)
CIE-LCHlch(76.67, 57.96, 76.93°)
OKLaboklab(80.37% 0.033 0.1287)
OKLCHoklch(80.37% 0.133 75.6)
XYZxyz(53.3819, 50.9793, 15.0094)
Luminance0.5098 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0B252 #5290F0
analogous
#F06352 #F0B252 #DFF052
triadic
#F0B252 #52F0B2 #B252F0
tetradic
#F0B252 #52F063 #5290F0 #F052DF
square
#F0B252 #52F063 #5290F0 #F052DF
split-complementary
#F0B252 #52DFF0 #6352F0
monochromatic
#B87610 #EB991A #F0B252 #F5CB8A #FAE4C3

Accessibility & contrast

On white

1.88
#F0B252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#F0B252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0B252
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0B252#FFFFFF#000000##000000
##F0B2521.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B448
Deuteranopia (green-blind)
#D8C355
Tritanopia (blue-blind)
#FFA19D
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #f0b252;
/* rgb */ color: rgb(240, 178, 82);
/* oklch */ color: oklch(80.4% 0.133 75.6);
Tailwind
colors: {
  custom: {
    50: '#f9c886',
    500: '#f0b252',
    950: '#000000',
  },
}
SCSS
$custom: #f0b252;
$custom-light: #f9c886;
$custom-dark: #000000;
JSON
{
  "hex": "#f0b252",
  "rgb": {
    "r": 240,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 36.456,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.80368,
    "c": 0.13282,
    "h": 75.6
  },
  "luminance": 0.50975
}

Semantic roles & 50–950 ramp

primary
#F0B252
secondary
#2F65B7
accent
#5BE005
background
#FFFDFB
surface
#FFF9F2
border
#D7D2CC
text
#18130B
muted
#86827E

Preview Lab

Preview with #F0B252

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

Preview Lab → · Contrast checker → · Palette generator →

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