#F5C058#F5C058

#F5C058 is a very light, vivid orange. Relative luminance 0.578; OKLCH L 83.6% C 0.135 H 81.8°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#F5C058
RGBrgb(245, 192, 88)
HSLhsl(40, 89%, 65%)
HSVhsv(40, 64%, 96%)
CMYKcmyk(0%, 21.6%, 64.1%, 3.9%)
CIE-LABlab(80.64, 8.21, 58.25)
CIE-LCHlch(80.64, 58.82, 81.98°)
OKLaboklab(83.61% 0.0191 0.1332)
OKLCHoklch(83.61% 0.135 81.8)
XYZxyz(58.2706, 57.8202, 17.3219)
Luminance0.5782 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5C058 #588DF5
analogous
#F57158 #F5C058 #DCF558
triadic
#F5C058 #58F5C0 #C058F5
tetradic
#F5C058 #58F571 #588DF5 #F558DC
square
#F5C058 #58F571 #588DF5 #F558DC
split-complementary
#F5C058 #58DCF5 #7158F5
monochromatic
#C7880C #F2AA1E #F5C058 #F8D692 #FCECCB

Accessibility & contrast

On white

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

On black

12.56
#F5C058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5C058
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5C058#FFFFFF#000000##000000
##F5C0581.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5c058;
/* rgb */ color: rgb(245, 192, 88);
/* oklch */ color: oklch(83.6% 0.135 81.8);
Tailwind
colors: {
  custom: {
    50: '#fcd28b',
    500: '#f5c058',
    950: '#000000',
  },
}
SCSS
$custom: #f5c058;
$custom-light: #fcd28b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5c058",
  "rgb": {
    "r": 245,
    "g": 192,
    "b": 88
  },
  "hsl": {
    "h": 39.745,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83614,
    "c": 0.13459,
    "h": 81.8
  },
  "luminance": 0.57816
}

Semantic roles & 50–950 ramp

primary
#F5C058
secondary
#2E60C3
accent
#4EE500
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F5C058

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

Preview Lab → · Contrast checker → · Palette generator →

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