#F5CC6B#F5CC6B

#F5CC6B is a very light, vivid orange. Relative luminance 0.637; OKLCH L 86.2% C 0.125 H 86.7°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#F5CC6B
RGBrgb(245, 204, 107)
HSLhsl(42, 87%, 69%)
HSVhsv(42, 56%, 96%)
CMYKcmyk(0%, 16.7%, 56.3%, 3.9%)
CIE-LABlab(83.79, 3.28, 53.05)
CIE-LCHlch(83.79, 53.16, 86.46°)
OKLaboklab(86.15% 0.0071 0.1244)
OKLCHoklch(86.15% 0.125 86.7)
XYZxyz(61.9057, 63.6631, 22.9346)
Luminance0.6366 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5CC6B #6B94F5
analogous
#F5876B #F5CC6B #D9F56B
triadic
#F5CC6B #6BF5CC #CC6BF5
tetradic
#F5CC6B #6BF587 #6B94F5 #F56BD9
square
#F5CC6B #6BF587 #6B94F5 #F56BD9
split-complementary
#F5CC6B #6BD9F5 #876BF5
monochromatic
#D79B0F #F1B832 #F5CC6B #F9E0A4 #FDF4DE

Accessibility & contrast

On white

1.53
#F5CC6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#F5CC6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5CC6B
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5CC6B#FFFFFF#000000##000000
##F5CC6B1.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB62
Deuteranopia (green-blind)
#EAD56F
Tritanopia (blue-blind)
#FFBEB6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f5cc6b;
/* rgb */ color: rgb(245, 204, 107);
/* oklch */ color: oklch(86.2% 0.125 86.7);
Tailwind
colors: {
  custom: {
    50: '#fbdb98',
    500: '#f5cc6b',
    950: '#000000',
  },
}
SCSS
$custom: #f5cc6b;
$custom-light: #fbdb98;
$custom-dark: #000000;
JSON
{
  "hex": "#f5cc6b",
  "rgb": {
    "r": 245,
    "g": 204,
    "b": 107
  },
  "hsl": {
    "h": 42.174,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.86153,
    "c": 0.12459,
    "h": 86.7
  },
  "luminance": 0.6366
}

Semantic roles & 50–950 ramp

primary
#F5CC6B
secondary
#3663CE
accent
#45E402
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140E
muted
#86837F

Preview Lab

Preview with #F5CC6B

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

Preview Lab → · Contrast checker → · Palette generator →

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