#FFAF42#FFAF42

#FFAF42 is a light, vivid orange. Relative luminance 0.523; OKLCH L 81.3% C 0.151 H 70.5°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#FFAF42
RGBrgb(255, 175, 66)
HSLhsl(35, 100%, 63%)
HSVhsv(35, 74%, 100%)
CMYKcmyk(0%, 31.4%, 74.1%, 0%)
CIE-LABlab(77.47, 20.13, 64.68)
CIE-LCHlch(77.47, 67.74, 72.72°)
OKLaboklab(81.32% 0.0505 0.1427)
OKLCHoklch(81.32% 0.151 70.5)
XYZxyz(57.5576, 52.3184, 12.2203)
Luminance0.5231 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAF42 #4292FF
analogous
#FF5042 #FFAF42 #F1FF42
triadic
#FFAF42 #42FFAF #AF42FF
tetradic
#FFAF42 #42FF50 #4292FF #FF42F1
square
#FFAF42 #42FF50 #4292FF #FF42F1
split-complementary
#FFAF42 #42F1FF #5042FF
monochromatic
#C77300 #FF9505 #FFAF42 #FFC97F #FFE3BC

Accessibility & contrast

On white

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

On black

11.46
#FFAF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAF42
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAF42#FFFFFF#000000##000000
##FFAF421.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB433
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#FF9B99
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ffaf42;
/* rgb */ color: rgb(255, 175, 66);
/* oklch */ color: oklch(81.3% 0.151 70.5);
Tailwind
colors: {
  custom: {
    50: '#ffc67d',
    500: '#ffaf42',
    950: '#000000',
  },
}
SCSS
$custom: #ffaf42;
$custom-light: #ffc67d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffaf42",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 34.603,
    "s": 100,
    "l": 62.941
  },
  "oklch": {
    "l": 0.81317,
    "c": 0.15138,
    "h": 70.5
  },
  "luminance": 0.52313
}

Semantic roles & 50–950 ramp

primary
#FFAF42
secondary
#2266C3
accent
#61E600
background
#FFFDFB
surface
#FFF9F2
border
#D7D2CC
text
#19130A
muted
#87827D

Preview Lab

Preview with #FFAF42

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

Preview Lab → · Contrast checker → · Palette generator →

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