#FFAF33#FFAF33

#FFAF33 is a light, vivid orange. Relative luminance 0.522; OKLCH L 81.2% C 0.158 H 72.7°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#FFAF33
RGBrgb(255, 175, 51)
HSLhsl(36, 100%, 60%)
HSVhsv(36, 80%, 100%)
CMYKcmyk(0%, 31.4%, 80%, 0%)
CIE-LABlab(77.38, 19.58, 70.20)
CIE-LCHlch(77.38, 72.88, 74.42°)
OKLaboklab(81.22% 0.0472 0.1512)
OKLCHoklch(81.22% 0.158 72.7)
XYZxyz(57.1719, 52.1641, 10.1890)
Luminance0.5216 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAF33 #3383FF
analogous
#FF4933 #FFAF33 #E9FF33
triadic
#FFAF33 #33FFAF #AF33FF
tetradic
#FFAF33 #33FF49 #3383FF #FF33E9
square
#FFAF33 #33FF49 #3383FF #FF33E9
split-complementary
#FFAF33 #33E9FF #4933FF
monochromatic
#B87000 #F59500 #FFAF33 #FFC770 #FFDFAD

Accessibility & contrast

On white

1.84
#FFAF33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#FFAF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAF33
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAF33#FFFFFF#000000##000000
##FFAF331.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB41A
Deuteranopia (green-blind)
#DEC737
Tritanopia (blue-blind)
#FF9B97
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ffaf33;
/* rgb */ color: rgb(255, 175, 51);
/* oklch */ color: oklch(81.2% 0.158 72.7);
Tailwind
colors: {
  custom: {
    50: '#ffc675',
    500: '#ffaf33',
    950: '#000000',
  },
}
SCSS
$custom: #ffaf33;
$custom-light: #ffc675;
$custom-dark: #000000;
JSON
{
  "hex": "#ffaf33",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 36.471,
    "s": 100,
    "l": 60
  },
  "oklch": {
    "l": 0.81216,
    "c": 0.15842,
    "h": 72.7
  },
  "luminance": 0.52159
}

Semantic roles & 50–950 ramp

primary
#FFAF33
secondary
#205BB6
accent
#7DFF29
background
#FFFDFB
surface
#FFF9F1
border
#D7D2CB
text
#1A1309
muted
#87827D

Preview Lab

Preview with #FFAF33

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

Preview Lab → · Contrast checker → · Palette generator →

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