#F0BC52#F0BC52

#F0BC52 is a very light, vivid orange. Relative luminance 0.551; OKLCH L 82.3% C 0.135 H 82.5°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#F0BC52
RGBrgb(240, 188, 82)
HSLhsl(40, 84%, 63%)
HSVhsv(40, 66%, 94%)
CMYKcmyk(0%, 21.7%, 65.8%, 5.9%)
CIE-LABlab(79.10, 7.86, 59.10)
CIE-LCHlch(79.10, 59.62, 82.43°)
OKLaboklab(82.28% 0.0177 0.1343)
OKLCHoklch(82.28% 0.135 82.5)
XYZxyz(55.4446, 55.1046, 15.6970)
Luminance0.5510 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0BC52 #5286F0
analogous
#F06D52 #F0BC52 #D5F052
triadic
#F0BC52 #52F0BC #BC52F0
tetradic
#F0BC52 #52F06D #5286F0 #F052D5
square
#F0BC52 #52F06D #5286F0 #F052D5
split-complementary
#F0BC52 #52D5F0 #6D52F0
monochromatic
#B88010 #EBA61A #F0BC52 #F5D28A #FAE8C3

Accessibility & contrast

On white

1.75
#F0BC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#F0BC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0BC52
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0BC52#FFFFFF#000000##000000
##F0BC521.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC46
Deuteranopia (green-blind)
#DEC956
Tritanopia (blue-blind)
#FFACA5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #f0bc52;
/* rgb */ color: rgb(240, 188, 82);
/* oklch */ color: oklch(82.3% 0.135 82.5);
Tailwind
colors: {
  custom: {
    50: '#f9cf87',
    500: '#f0bc52',
    950: '#000000',
  },
}
SCSS
$custom: #f0bc52;
$custom-light: #f9cf87;
$custom-dark: #000000;
JSON
{
  "hex": "#f0bc52",
  "rgb": {
    "r": 240,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 40.253,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.82276,
    "c": 0.13544,
    "h": 82.5
  },
  "luminance": 0.55101
}

Semantic roles & 50–950 ramp

primary
#F0BC52
secondary
#2F5CB7
accent
#4DE005
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18130C
muted
#86837F

Preview Lab

Preview with #F0BC52

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

Preview Lab → · Contrast checker → · Palette generator →

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