#F5CC5B#F5CC5B

#F5CC5B is a very light, vivid orange. Relative luminance 0.634; OKLCH L 86.0% C 0.138 H 89.2°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#F5CC5B
RGBrgb(245, 204, 91)
HSLhsl(44, 89%, 66%)
HSVhsv(44, 63%, 96%)
CMYKcmyk(0%, 16.7%, 62.9%, 3.9%)
CIE-LABlab(83.63, 2.18, 60.20)
CIE-LCHlch(83.63, 60.24, 87.93°)
OKLaboklab(85.98% 0.002 0.1378)
OKLCHoklch(85.98% 0.138 89.2)
XYZxyz(61.1404, 63.3570, 18.9043)
Luminance0.6335 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5CC5B #5B84F5
analogous
#F57F5B #F5CC5B #D1F55B
triadic
#F5CC5B #5BF5CC #CC5BF5
tetradic
#F5CC5B #5BF57F #5B84F5 #F55BD1
square
#F5CC5B #5BF57F #5B84F5 #F55BD1
split-complementary
#F5CC5B #5BD1F5 #7F5BF5
monochromatic
#C9970C #F1BA21 #F5CC5B #F9DE95 #FCF0CE

Accessibility & contrast

On white

1.54
#F5CC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#F5CC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5CC5B
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5CC5B#FFFFFF#000000##000000
##F5CC5B1.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA4F
Deuteranopia (green-blind)
#EBD560
Tritanopia (blue-blind)
#FFBDB3
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f5cc5b;
/* rgb */ color: rgb(245, 204, 91);
/* oklch */ color: oklch(86.0% 0.138 89.2);
Tailwind
colors: {
  custom: {
    50: '#fcdb8e',
    500: '#f5cc5b',
    950: '#000000',
  },
}
SCSS
$custom: #f5cc5b;
$custom-light: #fcdb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5cc5b",
  "rgb": {
    "r": 245,
    "g": 204,
    "b": 91
  },
  "hsl": {
    "h": 44.026,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85976,
    "c": 0.13783,
    "h": 89.2
  },
  "luminance": 0.63354
}

Semantic roles & 50–950 ramp

primary
#F5CC5B
secondary
#2E57C6
accent
#3DE500
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F5CC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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