#FFD172#FFD172

#FFD172 is a very light, vivid orange. Relative luminance 0.681; OKLCH L 88.2% C 0.125 H 83.9°. Best body text is #000000 at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#FFD172
RGBrgb(255, 209, 114)
HSLhsl(40, 100%, 72%)
HSVhsv(40, 55%, 100%)
CMYKcmyk(0%, 18%, 55.3%, 0%)
CIE-LABlab(86.05, 5.31, 52.62)
CIE-LCHlch(86.05, 52.89, 84.24°)
OKLaboklab(88.17% 0.0132 0.124)
OKLCHoklch(88.17% 0.125 83.9)
XYZxyz(67.0808, 68.0797, 25.5237)
Luminance0.6808 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD172 #72A0FF
analogous
#FF8B72 #FFD172 #E6FF72
triadic
#FFD172 #72FFD1 #D172FF
tetradic
#FFD172 #72FF8B #72A0FF #FF72E6
square
#FFD172 #72FF8B #72A0FF #FF72E6
split-complementary
#FFD172 #72E6FF #8B72FF
monochromatic
#F7A600 #FFBD35 #FFD172 #FFE5AF #FFF5E0

Accessibility & contrast

On white

1.44
#FFD172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.62
#FFD172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD172
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD172#FFFFFF#000000##000000
##FFD1721.001.4414.6214.62
#FFFFFF1.441.0021.0021.00
#00000014.6221.001.001.00
##00000014.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D069
Deuteranopia (green-blind)
#F1DC75
Tritanopia (blue-blind)
#FFC2BB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ffd172;
/* rgb */ color: rgb(255, 209, 114);
/* oklch */ color: oklch(88.2% 0.125 83.9);
Tailwind
colors: {
  custom: {
    50: '#ffde9d',
    500: '#ffd172',
    950: '#000000',
  },
}
SCSS
$custom: #ffd172;
$custom-light: #ffde9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd172",
  "rgb": {
    "r": 255,
    "g": 209,
    "b": 114
  },
  "hsl": {
    "h": 40.426,
    "s": 100,
    "l": 72.353
  },
  "oklch": {
    "l": 0.88172,
    "c": 0.12466,
    "h": 83.9
  },
  "luminance": 0.68076
}

Semantic roles & 50–950 ramp

primary
#FFD172
secondary
#396EDC
accent
#4BE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #FFD172

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

Preview Lab → · Contrast checker → · Palette generator →

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