#FFAF52#FFAF52

#FFAF52 is a light, vivid orange. Relative luminance 0.525; OKLCH L 81.5% C 0.142 H 67.3°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#FFAF52
RGBrgb(255, 175, 82)
HSLhsl(32, 100%, 66%)
HSVhsv(32, 68%, 100%)
CMYKcmyk(0%, 31.4%, 67.8%, 0%)
CIE-LABlab(77.60, 20.89, 57.94)
CIE-LCHlch(77.60, 61.59, 70.17°)
OKLaboklab(81.46% 0.0549 0.1313)
OKLCHoklch(81.46% 0.142 67.3)
XYZxyz(58.0971, 52.5342, 15.0613)
Luminance0.5253 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAF52 #52A2FF
analogous
#FF5852 #FFAF52 #F9FF52
triadic
#FFAF52 #52FFAF #AF52FF
tetradic
#FFAF52 #52FF58 #52A2FF #FF52F9
square
#FFAF52 #52FF58 #52A2FF #FF52F9
split-complementary
#FFAF52 #52F9FF #5852FF
monochromatic
#D77300 #FF9315 #FFAF52 #FFCB8F #FFE8CC

Accessibility & contrast

On white

1.83
#FFAF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#FFAF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAF52
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAF52#FFFFFF#000000##000000
##FFAF521.001.8311.5111.51
#FFFFFF1.831.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffaf52;
/* rgb */ color: rgb(255, 175, 82);
/* oklch */ color: oklch(81.5% 0.142 67.3);
Tailwind
colors: {
  custom: {
    50: '#ffc786',
    500: '#ffaf52',
    950: '#000000',
  },
}
SCSS
$custom: #ffaf52;
$custom-light: #ffc786;
$custom-dark: #000000;
JSON
{
  "hex": "#ffaf52",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 82
  },
  "hsl": {
    "h": 32.254,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.81458,
    "c": 0.14233,
    "h": 67.3
  },
  "luminance": 0.52529
}

Semantic roles & 50–950 ramp

primary
#FFAF52
secondary
#2574D0
accent
#6AE600
background
#FFFDFB
surface
#FFF9F2
border
#D7D2CC
text
#19130B
muted
#87827E

Preview Lab

Preview with #FFAF52

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

Preview Lab → · Contrast checker → · Palette generator →

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