#F5CC7C#F5CC7C

#F5CC7C is a very light, moderate orange. Relative luminance 0.641; OKLCH L 86.4% C 0.109 H 83.1°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#F5CC7C
RGBrgb(245, 204, 124)
HSLhsl(40, 86%, 72%)
HSVhsv(40, 49%, 96%)
CMYKcmyk(0%, 16.7%, 49.4%, 3.9%)
CIE-LABlab(84.00, 4.68, 45.05)
CIE-LCHlch(84.00, 45.29, 84.07°)
OKLaboklab(86.38% 0.0131 0.1082)
OKLCHoklch(86.38% 0.109 83.1)
XYZxyz(62.8896, 64.0567, 28.1165)
Luminance0.6405 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5CC7C #7CA5F5
analogous
#F58F7C #F5CC7C #E2F57C
triadic
#F5CC7C #7CF5CC #CC7CF5
tetradic
#F5CC7C #7CF58F #7CA5F5 #F57CE2
square
#F5CC7C #7CF58F #7CA5F5 #F57CE2
split-complementary
#F5CC7C #7CE2F5 #8F7CF5
monochromatic
#E59D11 #F1B643 #F5CC7C #F9E2B5 #FDF4E3

Accessibility & contrast

On white

1.52
#F5CC7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.81
#F5CC7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5CC7C
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5CC7C#FFFFFF#000000##000000
##F5CC7C1.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECB75
Deuteranopia (green-blind)
#E8D67E
Tritanopia (blue-blind)
#FFBFB9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f5cc7c;
/* rgb */ color: rgb(245, 204, 124);
/* oklch */ color: oklch(86.4% 0.109 83.1);
Tailwind
colors: {
  custom: {
    50: '#fbdba3',
    500: '#f5cc7c',
    950: '#000000',
  },
}
SCSS
$custom: #f5cc7c;
$custom-light: #fbdba3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5cc7c",
  "rgb": {
    "r": 245,
    "g": 204,
    "b": 124
  },
  "hsl": {
    "h": 39.669,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.86381,
    "c": 0.10902,
    "h": 83.1
  },
  "luminance": 0.64053
}

Semantic roles & 50–950 ramp

primary
#F5CC7C
secondary
#4574D1
accent
#4FE203
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F5CC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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