#F5D172#F5D172

#F5D172 is a very light, vivid orange. Relative luminance 0.662; OKLCH L 87.2% C 0.121 H 89.0°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#F5D172
RGBrgb(245, 209, 114)
HSLhsl(44, 87%, 70%)
HSVhsv(44, 53%, 96%)
CMYKcmyk(0%, 14.7%, 53.5%, 3.9%)
CIE-LABlab(85.11, 1.26, 51.29)
CIE-LCHlch(85.11, 51.30, 88.60°)
OKLaboklab(87.22% 0.002 0.1212)
OKLCHoklch(87.22% 0.121 89)
XYZxyz(63.4965, 66.2315, 25.3557)
Luminance0.6623 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D172 #7296F5
analogous
#F58F72 #F5D172 #D8F572
triadic
#F5D172 #72F5D1 #D172F5
tetradic
#F5D172 #72F58F #7296F5 #F572D8
square
#F5D172 #72F58F #7296F5 #F572D8
split-complementary
#F5D172 #72D8F5 #8F72F5
monochromatic
#DDA510 #F1BE39 #F5D172 #F9E4AB #FDF6E2

Accessibility & contrast

On white

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

On black

14.25
#F5D172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D172
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D172#FFFFFF#000000##000000
##F5D1721.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF6A
Deuteranopia (green-blind)
#EDD976
Tritanopia (blue-blind)
#FFC3BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f5d172;
/* rgb */ color: rgb(245, 209, 114);
/* oklch */ color: oklch(87.2% 0.121 89.0);
Tailwind
colors: {
  custom: {
    50: '#fbde9d',
    500: '#f5d172',
    950: '#000000',
  },
}
SCSS
$custom: #f5d172;
$custom-light: #fbde9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d172",
  "rgb": {
    "r": 245,
    "g": 209,
    "b": 114
  },
  "hsl": {
    "h": 43.511,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87222,
    "c": 0.12125,
    "h": 89
  },
  "luminance": 0.66228
}

Semantic roles & 50–950 ramp

primary
#F5D172
secondary
#3C64CF
accent
#40E302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D172

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

Preview Lab → · Contrast checker → · Palette generator →

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