#F5BA52#F5BA52

#F5BA52 is a very light, vivid orange. Relative luminance 0.551; OKLCH L 82.4% C 0.137 H 78.9°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#F5BA52
RGBrgb(245, 186, 82)
HSLhsl(38, 89%, 64%)
HSVhsv(38, 67%, 96%)
CMYKcmyk(0%, 24.1%, 66.5%, 3.9%)
CIE-LABlab(79.12, 10.99, 59.27)
CIE-LCHlch(79.12, 60.28, 79.49°)
OKLaboklab(82.41% 0.0265 0.1345)
OKLCHoklch(82.41% 0.137 78.9)
XYZxyz(56.7415, 55.1436, 15.6363)
Luminance0.5514 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5BA52 #528DF5
analogous
#F56952 #F5BA52 #DFF552
triadic
#F5BA52 #52F5BA #BA52F5
tetradic
#F5BA52 #52F569 #528DF5 #F552DF
square
#F5BA52 #52F569 #528DF5 #F552DF
split-complementary
#F5BA52 #52DFF5 #6952F5
monochromatic
#C17F0B #F2A318 #F5BA52 #F8D18C #FCE8C6

Accessibility & contrast

On white

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

On black

12.03
#F5BA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5BA52
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5BA52#FFFFFF#000000##000000
##F5BA521.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB46
Deuteranopia (green-blind)
#DFCA56
Tritanopia (blue-blind)
#FFA9A4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #f5ba52;
/* rgb */ color: rgb(245, 186, 82);
/* oklch */ color: oklch(82.4% 0.137 78.9);
Tailwind
colors: {
  custom: {
    50: '#fdce87',
    500: '#f5ba52',
    950: '#000000',
  },
}
SCSS
$custom: #f5ba52;
$custom-light: #fdce87;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ba52",
  "rgb": {
    "r": 245,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 38.282,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.82409,
    "c": 0.13708,
    "h": 78.9
  },
  "luminance": 0.55139
}

Semantic roles & 50–950 ramp

primary
#F5BA52
secondary
#2C61BF
accent
#53E600
background
#FFFEFC
surface
#FFFAF3
border
#D7D3CD
text
#18130C
muted
#86837F

Preview Lab

Preview with #F5BA52

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

Preview Lab → · Contrast checker → · Palette generator →

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