#AF8438#AF8438

#AF8438 is a light, moderate orange. Relative luminance 0.259; OKLCH L 64.1% C 0.107 H 78.9°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AF8438
RGBrgb(175, 132, 56)
HSLhsl(38, 52%, 45%)
HSVhsv(38, 68%, 69%)
CMYKcmyk(0%, 24.6%, 68%, 31.4%)
CIE-LABlab(57.95, 8.51, 46.11)
CIE-LCHlch(57.95, 46.88, 79.54°)
OKLaboklab(64.06% 0.0205 0.1046)
OKLCHoklch(64.06% 0.107 78.9)
XYZxyz(26.6459, 25.9039, 7.3372)
Luminance0.2590 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8438 #3863AF
analogous
#AF4838 #AF8438 #9FAF38
triadic
#AF8438 #38AF84 #8438AF
tetradic
#AF8438 #38AF48 #3863AF #AF389F
square
#AF8438 #38AF48 #3863AF #AF389F
split-complementary
#AF8438 #389FAF #4838AF
monochromatic
#523E1A #816129 #AF8438 #CAA25A #D9BC88

Accessibility & contrast

On white

3.40
#AF8438 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#AF8438 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8438
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8438#FFFFFF#000000##000000
##AF84381.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95852F
Deuteranopia (green-blind)
#9F903B
Tritanopia (blue-blind)
#BE7874
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af8438;
/* rgb */ color: rgb(175, 132, 56);
/* oklch */ color: oklch(64.1% 0.107 78.9);
Tailwind
colors: {
  custom: {
    50: '#cba772',
    500: '#af8438',
    950: '#000000',
  },
}
SCSS
$custom: #af8438;
$custom-light: #cba772;
$custom-dark: #000000;
JSON
{
  "hex": "#af8438",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 56
  },
  "hsl": {
    "h": 38.319,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.6406,
    "c": 0.10659,
    "h": 78.9
  },
  "luminance": 0.25902
}

Semantic roles & 50–950 ramp

primary
#AF8438
secondary
#8098C3
accent
#80DB4D
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#140F08
muted
#827F7B

Preview Lab

Preview with #AF8438

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

Preview Lab → · Contrast checker → · Palette generator →

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