#F5C052#F5C052

#F5C052 is a very light, vivid orange. Relative luminance 0.577; OKLCH L 83.6% C 0.139 H 82.8°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#F5C052
RGBrgb(245, 192, 82)
HSLhsl(40, 89%, 64%)
HSVhsv(40, 67%, 96%)
CMYKcmyk(0%, 21.6%, 66.5%, 3.9%)
CIE-LABlab(80.59, 7.86, 60.84)
CIE-LCHlch(80.59, 61.35, 82.64°)
OKLaboklab(83.56% 0.0173 0.1378)
OKLCHoklch(83.56% 0.139 82.8)
XYZxyz(58.0322, 57.7249, 16.0665)
Luminance0.5772 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5C052 #5287F5
analogous
#F56F52 #F5C052 #D8F552
triadic
#F5C052 #52F5C0 #C052F5
tetradic
#F5C052 #52F56F #5287F5 #F552D8
square
#F5C052 #52F56F #5287F5 #F552D8
split-complementary
#F5C052 #52D8F5 #6F52F5
monochromatic
#C1860B #F2AB18 #F5C052 #F8D58C #FCEAC6

Accessibility & contrast

On white

1.67
#F5C052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#F5C052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5C052
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5C052#FFFFFF#000000##000000
##F5C0521.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C045
Deuteranopia (green-blind)
#E3CE56
Tritanopia (blue-blind)
#FFB0A9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #f5c052;
/* rgb */ color: rgb(245, 192, 82);
/* oklch */ color: oklch(83.6% 0.139 82.8);
Tailwind
colors: {
  custom: {
    50: '#fdd287',
    500: '#f5c052',
    950: '#000000',
  },
}
SCSS
$custom: #f5c052;
$custom-light: #fdd287;
$custom-dark: #000000;
JSON
{
  "hex": "#f5c052",
  "rgb": {
    "r": 245,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 40.491,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83555,
    "c": 0.13893,
    "h": 82.8
  },
  "luminance": 0.57721
}

Semantic roles & 50–950 ramp

primary
#F5C052
secondary
#2C5CBF
accent
#4BE600
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #F5C052

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

Preview Lab → · Contrast checker → · Palette generator →

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