#F5D17A#F5D17A

#F5D17A is a very light, moderate orange. Relative luminance 0.664; OKLCH L 87.3% C 0.114 H 87.6°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#F5D17A
RGBrgb(245, 209, 122)
HSLhsl(42, 86%, 72%)
HSVhsv(42, 50%, 96%)
CMYKcmyk(0%, 14.7%, 50.2%, 3.9%)
CIE-LABlab(85.21, 1.93, 47.53)
CIE-LCHlch(85.21, 47.57, 87.68°)
OKLaboklab(87.33% 0.0049 0.1136)
OKLCHoklch(87.33% 0.114 87.6)
XYZxyz(63.9719, 66.4217, 27.8596)
Luminance0.6642 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D17A #7A9EF5
analogous
#F5947A #F5D17A #DCF57A
triadic
#F5D17A #7AF5D1 #D17AF5
tetradic
#F5D17A #7AF594 #7A9EF5 #F57ADC
square
#F5D17A #7AF594 #7A9EF5 #F57ADC
split-complementary
#F5D17A #7ADCF5 #947AF5
monochromatic
#E3A611 #F1BD41 #F5D17A #F9E5B3 #FDF5E3

Accessibility & contrast

On white

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

On black

14.28
#F5D17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D17A
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D17A#FFFFFF#000000##000000
##F5D17A1.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF73
Deuteranopia (green-blind)
#ECD97D
Tritanopia (blue-blind)
#FFC4BC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f5d17a;
/* rgb */ color: rgb(245, 209, 122);
/* oklch */ color: oklch(87.3% 0.114 87.6);
Tailwind
colors: {
  custom: {
    50: '#fbdea2',
    500: '#f5d17a',
    950: '#000000',
  },
}
SCSS
$custom: #f5d17a;
$custom-light: #fbdea2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d17a",
  "rgb": {
    "r": 245,
    "g": 209,
    "b": 122
  },
  "hsl": {
    "h": 42.439,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.8733,
    "c": 0.11372,
    "h": 87.6
  },
  "luminance": 0.66419
}

Semantic roles & 50–950 ramp

primary
#F5D17A
secondary
#436CD0
accent
#44E303
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F5D17A

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

Preview Lab → · Contrast checker → · Palette generator →

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