#FFAF56#FFAF56

#FFAF56 is a light, vivid orange. Relative luminance 0.526; OKLCH L 81.5% C 0.140 H 66.4°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#FFAF56
RGBrgb(255, 175, 86)
HSLhsl(32, 100%, 67%)
HSVhsv(32, 66%, 100%)
CMYKcmyk(0%, 31.4%, 66.3%, 0%)
CIE-LABlab(77.64, 21.11, 56.15)
CIE-LCHlch(77.64, 59.99, 69.40°)
OKLaboklab(81.5% 0.0561 0.1281)
OKLCHoklch(81.5% 0.14 66.4)
XYZxyz(58.2537, 52.5968, 15.8865)
Luminance0.5259 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAF56 #56A6FF
analogous
#FF5B56 #FFAF56 #FAFF56
triadic
#FFAF56 #56FFAF #AF56FF
tetradic
#FFAF56 #56FF5B #56A6FF #FF56FA
square
#FFAF56 #56FF5B #56A6FF #FF56FA
split-complementary
#FFAF56 #56FAFF #5B56FF
monochromatic
#DB7300 #FF9219 #FFAF56 #FFCC93 #FFE9D0

Accessibility & contrast

On white

1.82
#FFAF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#FFAF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAF56
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAF56#FFFFFF#000000##000000
##FFAF561.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B54D
Deuteranopia (green-blind)
#DCC758
Tritanopia (blue-blind)
#FF9C9B
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ffaf56;
/* rgb */ color: rgb(255, 175, 86);
/* oklch */ color: oklch(81.5% 0.140 66.4);
Tailwind
colors: {
  custom: {
    50: '#ffc789',
    500: '#ffaf56',
    950: '#000000',
  },
}
SCSS
$custom: #ffaf56;
$custom-light: #ffc789;
$custom-dark: #000000;
JSON
{
  "hex": "#ffaf56",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 86
  },
  "hsl": {
    "h": 31.598,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.81499,
    "c": 0.13987,
    "h": 66.4
  },
  "luminance": 0.52592
}

Semantic roles & 50–950 ramp

primary
#FFAF56
secondary
#2578D4
accent
#6DE600
background
#FFFDFC
surface
#FFF9F4
border
#D7D2CE
text
#19130C
muted
#87827F

Preview Lab

Preview with #FFAF56

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

Preview Lab → · Contrast checker → · Palette generator →

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