#FBB252#FBB252

#FBB252 is a light, vivid orange. Relative luminance 0.530; OKLCH L 81.6% C 0.139 H 70.9°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#FBB252
RGBrgb(251, 178, 82)
HSLhsl(34, 95%, 65%)
HSVhsv(34, 67%, 98%)
CMYKcmyk(0%, 29.1%, 67.3%, 1.6%)
CIE-LABlab(77.85, 17.67, 58.09)
CIE-LCHlch(77.85, 60.72, 73.08°)
OKLaboklab(81.56% 0.0457 0.1318)
OKLCHoklch(81.56% 0.139 70.9)
XYZxyz(57.2309, 52.9639, 15.1899)
Luminance0.5296 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBB252 #529BFB
analogous
#FB5E52 #FBB252 #EFFB52
triadic
#FBB252 #52FBB2 #B252FB
tetradic
#FBB252 #52FB5E #529BFB #FB52EF
square
#FBB252 #52FB5E #529BFB #FB52EF
split-complementary
#FBB252 #52EFFB #5E52FB
monochromatic
#CE7705 #FA9716 #FBB252 #FCCD8E #FEE7CA

Accessibility & contrast

On white

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

On black

11.59
#FBB252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBB252
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBB252#FFFFFF#000000##000000
##FBB2521.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB647
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#FFA09D
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #fbb252;
/* rgb */ color: rgb(251, 178, 82);
/* oklch */ color: oklch(81.6% 0.139 70.9);
Tailwind
colors: {
  custom: {
    50: '#ffc986',
    500: '#fbb252',
    950: '#000000',
  },
}
SCSS
$custom: #fbb252;
$custom-light: #ffc986;
$custom-dark: #000000;
JSON
{
  "hex": "#fbb252",
  "rgb": {
    "r": 251,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 34.083,
    "s": 95.48,
    "l": 65.294
  },
  "oklch": {
    "l": 0.81559,
    "c": 0.13947,
    "h": 70.9
  },
  "luminance": 0.52959
}

Semantic roles & 50–950 ramp

primary
#FBB252
secondary
#286EC9
accent
#63E600
background
#FFFDFB
surface
#FFF9F2
border
#D7D2CC
text
#19130B
muted
#87827E

Preview Lab

Preview with #FBB252

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

Preview Lab → · Contrast checker → · Palette generator →

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