#AF8F30#AF8F30

#AF8F30 is a light, moderate orange. Relative luminance 0.290; OKLCH L 66.3% C 0.117 H 89.7°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AF8F30
RGBrgb(175, 143, 48)
HSLhsl(45, 57%, 44%)
HSVhsv(45, 73%, 69%)
CMYKcmyk(0%, 18.3%, 72.6%, 31.4%)
CIE-LABlab(60.76, 1.98, 52.56)
CIE-LCHlch(60.76, 52.60, 87.84°)
OKLaboklab(66.25% 0.0005 0.1169)
OKLCHoklch(66.25% 0.117 89.7)
XYZxyz(28.0367, 28.9740, 6.9116)
Luminance0.2897 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8F30 #3050AF
analogous
#AF4F30 #AF8F30 #8FAF30
triadic
#AF8F30 #30AF8F #8F30AF
tetradic
#AF8F30 #30AF4F #3050AF #AF308F
square
#AF8F30 #30AF4F #3050AF #AF308F
split-complementary
#AF8F30 #308FAF #4F30AF
monochromatic
#4F4116 #7F6823 #AF8F30 #CEAE4E #DCC47E

Accessibility & contrast

On white

3.09
#AF8F30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#AF8F30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8F30
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8F30#FFFFFF#000000##000000
##AF8F301.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D22
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#BD837C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af8f30;
/* rgb */ color: rgb(175, 143, 48);
/* oklch */ color: oklch(66.3% 0.117 89.7);
Tailwind
colors: {
  custom: {
    50: '#cbaf6e',
    500: '#af8f30',
    950: '#000000',
  },
}
SCSS
$custom: #af8f30;
$custom-light: #cbaf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#af8f30",
  "rgb": {
    "r": 175,
    "g": 143,
    "b": 48
  },
  "hsl": {
    "h": 44.882,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.6625,
    "c": 0.11685,
    "h": 89.7
  },
  "luminance": 0.28972
}

Semantic roles & 50–950 ramp

primary
#AF8F30
secondary
#768AC4
accent
#6EE048
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF8F30

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

Preview Lab → · Contrast checker → · Palette generator →

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