#FFAF78#FFAF78

#FFAF78 is a light, moderate orange. Relative luminance 0.533; OKLCH L 81.9% C 0.118 H 54.8°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#FFAF78
RGBrgb(255, 175, 120)
HSLhsl(24, 100%, 74%)
HSVhsv(24, 53%, 100%)
CMYKcmyk(0%, 31.4%, 52.9%, 0%)
CIE-LABlab(78.04, 23.48, 39.85)
CIE-LCHlch(78.04, 46.25, 59.49°)
OKLaboklab(81.94% 0.0678 0.0961)
OKLCHoklch(81.94% 0.118 54.8)
XYZxyz(59.9636, 53.2808, 24.8917)
Luminance0.5328 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAF78 #78C8FF
analogous
#FF7884 #FFAF78 #FFF278
triadic
#FFAF78 #78FFAF #AF78FF
tetradic
#FFAF78 #84FF78 #78C8FF #F278FF
square
#FFAF78 #84FF78 #78C8FF #F278FF
split-complementary
#FFAF78 #78FFF2 #7884FF
monochromatic
#FD6700 #FF8B3B #FFAF78 #FFD3B5 #FFEDE0

Accessibility & contrast

On white

1.80
#FFAF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#FFAF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAF78
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAF78#FFFFFF#000000##000000
##FFAF781.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B674
Deuteranopia (green-blind)
#D9C878
Tritanopia (blue-blind)
#FF9FA1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ffaf78;
/* rgb */ color: rgb(255, 175, 120);
/* oklch */ color: oklch(81.9% 0.118 54.8);
Tailwind
colors: {
  custom: {
    50: '#ffc7a0',
    500: '#ffaf78',
    950: '#000000',
  },
}
SCSS
$custom: #ffaf78;
$custom-light: #ffc7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ffaf78",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 120
  },
  "hsl": {
    "h": 24.444,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.81943,
    "c": 0.11762,
    "h": 54.8
  },
  "luminance": 0.53276
}

Semantic roles & 50–950 ramp

primary
#FFAF78
secondary
#3E9CDD
accent
#88E600
background
#FFFDFC
surface
#FFF9F5
border
#D7D2CF
text
#19130E
muted
#87827F

Preview Lab

Preview with #FFAF78

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

Preview Lab → · Contrast checker → · Palette generator →

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