#F5D17C#F5D17C

#F5D17C is a very light, moderate orange. Relative luminance 0.665; OKLCH L 87.4% C 0.112 H 87.1°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#F5D17C
RGBrgb(245, 209, 124)
HSLhsl(42, 86%, 72%)
HSVhsv(42, 49%, 96%)
CMYKcmyk(0%, 14.7%, 49.4%, 3.9%)
CIE-LABlab(85.24, 2.10, 46.58)
CIE-LCHlch(85.24, 46.63, 87.42°)
OKLaboklab(87.36% 0.0056 0.1117)
OKLCHoklch(87.36% 0.112 87.1)
XYZxyz(64.0971, 66.4717, 28.5190)
Luminance0.6647 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D17C #7CA0F5
analogous
#F5957C #F5D17C #DCF57C
triadic
#F5D17C #7CF5D1 #D17CF5
tetradic
#F5D17C #7CF595 #7CA0F5 #F57CDC
square
#F5D17C #7CF595 #7CA0F5 #F57CDC
split-complementary
#F5D17C #7CDCF5 #957CF5
monochromatic
#E5A611 #F1BD43 #F5D17C #F9E5B5 #FDF5E3

Accessibility & contrast

On white

1.47
#F5D17C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#F5D17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D17C
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D17C#FFFFFF#000000##000000
##F5D17C1.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF75
Deuteranopia (green-blind)
#ECD97F
Tritanopia (blue-blind)
#FFC4BD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f5d17c;
/* rgb */ color: rgb(245, 209, 124);
/* oklch */ color: oklch(87.4% 0.112 87.1);
Tailwind
colors: {
  custom: {
    50: '#fbdea3',
    500: '#f5d17c',
    950: '#000000',
  },
}
SCSS
$custom: #f5d17c;
$custom-light: #fbdea3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d17c",
  "rgb": {
    "r": 245,
    "g": 209,
    "b": 124
  },
  "hsl": {
    "h": 42.149,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.87358,
    "c": 0.11179,
    "h": 87.1
  },
  "luminance": 0.66469
}

Semantic roles & 50–950 ramp

primary
#F5D17C
secondary
#456ED1
accent
#46E203
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F5D17C

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

Preview Lab → · Contrast checker → · Palette generator →

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