#AF8338#AF8338

#AF8338 is a light, moderate orange. Relative luminance 0.256; OKLCH L 63.9% C 0.106 H 78.0°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AF8338
RGBrgb(175, 131, 56)
HSLhsl(38, 52%, 45%)
HSVhsv(38, 68%, 69%)
CMYKcmyk(0%, 25.1%, 68%, 31.4%)
CIE-LABlab(57.69, 9.07, 45.83)
CIE-LCHlch(57.69, 46.72, 78.81°)
OKLaboklab(63.86% 0.0221 0.104)
OKLCHoklch(63.86% 0.106 78)
XYZxyz(26.5109, 25.6340, 7.2922)
Luminance0.2563 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8338 #3864AF
analogous
#AF4738 #AF8338 #9FAF38
triadic
#AF8338 #38AF83 #8338AF
tetradic
#AF8338 #38AF47 #3864AF #AF389F
square
#AF8338 #38AF47 #3864AF #AF389F
split-complementary
#AF8338 #389FAF #4738AF
monochromatic
#523E1A #816029 #AF8338 #CAA15A #D9BB88

Accessibility & contrast

On white

3.43
#AF8338 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#AF8338 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8338
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8338#FFFFFF#000000##000000
##AF83381.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948430
Deuteranopia (green-blind)
#9E8F3A
Tritanopia (blue-blind)
#BE7773
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af8338;
/* rgb */ color: rgb(175, 131, 56);
/* oklch */ color: oklch(63.9% 0.106 78.0);
Tailwind
colors: {
  custom: {
    50: '#cba672',
    500: '#af8338',
    950: '#000000',
  },
}
SCSS
$custom: #af8338;
$custom-light: #cba672;
$custom-dark: #000000;
JSON
{
  "hex": "#af8338",
  "rgb": {
    "r": 175,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 37.815,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.63858,
    "c": 0.10634,
    "h": 78
  },
  "luminance": 0.25632
}

Semantic roles & 50–950 ramp

primary
#AF8338
secondary
#8099C3
accent
#81DB4D
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#140F08
muted
#827F7B

Preview Lab

Preview with #AF8338

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

Preview Lab → · Contrast checker → · Palette generator →

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