#AF9138#AF9138

#AF9138 is a light, moderate orange. Relative luminance 0.296; OKLCH L 66.7% C 0.112 H 90.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#AF9138
RGBrgb(175, 145, 56)
HSLhsl(45, 52%, 45%)
HSVhsv(45, 68%, 69%)
CMYKcmyk(0%, 17.1%, 68%, 31.4%)
CIE-LABlab(61.35, 1.32, 49.73)
CIE-LCHlch(61.35, 49.75, 88.48°)
OKLaboklab(66.74% -0.0004 0.1123)
OKLCHoklch(66.74% 0.112 90.2)
XYZxyz(28.5199, 29.6520, 7.9618)
Luminance0.2965 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9138 #3856AF
analogous
#AF5538 #AF9138 #91AF38
triadic
#AF9138 #38AF91 #9138AF
tetradic
#AF9138 #38AF55 #3856AF #AF3891
square
#AF9138 #38AF55 #3856AF #AF3891
split-complementary
#AF9138 #3891AF #5538AF
monochromatic
#52441A #816B29 #AF9138 #CAAE5A #D9C588

Accessibility & contrast

On white

3.03
#AF9138 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#AF9138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9138
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9138#FFFFFF#000000##000000
##AF91381.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F2D
Deuteranopia (green-blind)
#A8983C
Tritanopia (blue-blind)
#BD857E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af9138;
/* rgb */ color: rgb(175, 145, 56);
/* oklch */ color: oklch(66.7% 0.112 90.2);
Tailwind
colors: {
  custom: {
    50: '#cab073',
    500: '#af9138',
    950: '#000000',
  },
}
SCSS
$custom: #af9138;
$custom-light: #cab073;
$custom-dark: #000000;
JSON
{
  "hex": "#af9138",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 56
  },
  "hsl": {
    "h": 44.874,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.66738,
    "c": 0.11231,
    "h": 90.2
  },
  "luminance": 0.2965
}

Semantic roles & 50–950 ramp

primary
#AF9138
secondary
#8091C3
accent
#71DB4D
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9138

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

Preview Lab → · Contrast checker → · Palette generator →

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