#FFAF5B#FFAF5B

#FFAF5B is a light, vivid orange. Relative luminance 0.527; OKLCH L 81.6% C 0.137 H 65.1°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#FFAF5B
RGBrgb(255, 175, 91)
HSLhsl(31, 100%, 68%)
HSVhsv(31, 64%, 100%)
CMYKcmyk(0%, 31.4%, 64.3%, 0%)
CIE-LABlab(77.69, 21.40, 53.87)
CIE-LCHlch(77.69, 57.96, 68.33°)
OKLaboklab(81.55% 0.0577 0.124)
OKLCHoklch(81.55% 0.137 65.1)
XYZxyz(58.4623, 52.6803, 16.9848)
Luminance0.5268 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAF5B #5BABFF
analogous
#FF5D5B #FFAF5B #FDFF5B
triadic
#FFAF5B #5BFFAF #AF5BFF
tetradic
#FFAF5B #5BFF5D #5BABFF #FF5BFD
square
#FFAF5B #5BFF5D #5BABFF #FF5BFD
split-complementary
#FFAF5B #5BFDFF #5D5BFF
monochromatic
#E07300 #FF911E #FFAF5B #FFCD98 #FFEBD5

Accessibility & contrast

On white

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

On black

11.54
#FFAF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAF5B
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAF5B#FFFFFF#000000##000000
##FFAF5B1.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B553
Deuteranopia (green-blind)
#DCC75C
Tritanopia (blue-blind)
#FF9D9C
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ffaf5b;
/* rgb */ color: rgb(255, 175, 91);
/* oklch */ color: oklch(81.6% 0.137 65.1);
Tailwind
colors: {
  custom: {
    50: '#ffc78c',
    500: '#ffaf5b',
    950: '#000000',
  },
}
SCSS
$custom: #ffaf5b;
$custom-light: #ffc78c;
$custom-dark: #000000;
JSON
{
  "hex": "#ffaf5b",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 91
  },
  "hsl": {
    "h": 30.732,
    "s": 100,
    "l": 67.843
  },
  "oklch": {
    "l": 0.81553,
    "c": 0.13671,
    "h": 65.1
  },
  "luminance": 0.52675
}

Semantic roles & 50–950 ramp

primary
#FFAF5B
secondary
#267DD8
accent
#70E600
background
#FFFDFC
surface
#FFF9F4
border
#D7D2CE
text
#19130C
muted
#87827F

Preview Lab

Preview with #FFAF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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