#F5C74F#F5C74F

#F5C74F is a very light, vivid orange. Relative luminance 0.608; OKLCH L 84.9% C 0.144 H 87.6°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#F5C74F
RGBrgb(245, 199, 79)
HSLhsl(43, 89%, 64%)
HSVhsv(43, 68%, 96%)
CMYKcmyk(0%, 18.8%, 67.8%, 3.9%)
CIE-LABlab(82.29, 4.06, 63.91)
CIE-LCHlch(82.29, 64.04, 86.36°)
OKLaboklab(84.89% 0.006 0.1439)
OKLCHoklch(84.89% 0.144 87.6)
XYZxyz(59.4942, 60.8276, 16.0029)
Luminance0.6082 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5C74F #4F7DF5
analogous
#F5744F #F5C74F #D0F54F
triadic
#F5C74F #4FF5C7 #C74FF5
tetradic
#F5C74F #4FF574 #4F7DF5 #F54FD0
square
#F5C74F #4FF574 #4F7DF5 #F54FD0
split-complementary
#F5C74F #4FD0F5 #744FF5
monochromatic
#BF8D0B #F2B515 #F5C74F #F8D989 #FCECC3

Accessibility & contrast

On white

1.60
#F5C74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#F5C74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5C74F
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5C74F#FFFFFF#000000##000000
##F5C74F1.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC540
Deuteranopia (green-blind)
#E8D254
Tritanopia (blue-blind)
#FFB7AE
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #f5c74f;
/* rgb */ color: rgb(245, 199, 79);
/* oklch */ color: oklch(84.9% 0.144 87.6);
Tailwind
colors: {
  custom: {
    50: '#fdd786',
    500: '#f5c74f',
    950: '#000000',
  },
}
SCSS
$custom: #f5c74f;
$custom-light: #fdd786;
$custom-dark: #000000;
JSON
{
  "hex": "#f5c74f",
  "rgb": {
    "r": 245,
    "g": 199,
    "b": 79
  },
  "hsl": {
    "h": 43.373,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84885,
    "c": 0.14399,
    "h": 87.6
  },
  "luminance": 0.60824
}

Semantic roles & 50–950 ramp

primary
#F5C74F
secondary
#2C54BD
accent
#40E600
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #F5C74F

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

Preview Lab → · Contrast checker → · Palette generator →

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