#AF9131#AF9131

#AF9131 is a light, moderate yellow. Relative luminance 0.296; OKLCH L 66.7% C 0.117 H 91.1°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#AF9131
RGBrgb(175, 145, 49)
HSLhsl(46, 56%, 44%)
HSVhsv(46, 72%, 69%)
CMYKcmyk(0%, 17.1%, 72%, 31.4%)
CIE-LABlab(61.30, 0.94, 52.69)
CIE-LCHlch(61.30, 52.69, 88.98°)
OKLaboklab(66.68% -0.0023 0.1173)
OKLCHoklch(66.68% 0.117 91.1)
XYZxyz(28.3605, 29.5882, 7.1224)
Luminance0.2959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9131 #314FAF
analogous
#AF5231 #AF9131 #8EAF31
triadic
#AF9131 #31AF91 #9131AF
tetradic
#AF9131 #31AF52 #314FAF #AF318E
square
#AF9131 #31AF52 #314FAF #AF318E
split-complementary
#AF9131 #318EAF #5231AF
monochromatic
#4F4216 #7F6924 #AF9131 #CEB04F #DBC57F

Accessibility & contrast

On white

3.04
#AF9131 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#AF9131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9131
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9131#FFFFFF#000000##000000
##AF91311.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af9131;
/* rgb */ color: rgb(175, 145, 49);
/* oklch */ color: oklch(66.7% 0.117 91.1);
Tailwind
colors: {
  custom: {
    50: '#cbb06f',
    500: '#af9131',
    950: '#000000',
  },
}
SCSS
$custom: #af9131;
$custom-light: #cbb06f;
$custom-dark: #000000;
JSON
{
  "hex": "#af9131",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 49
  },
  "hsl": {
    "h": 45.714,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66677,
    "c": 0.11733,
    "h": 91.1
  },
  "luminance": 0.29587
}

Semantic roles & 50–950 ramp

primary
#AF9131
secondary
#788AC4
accent
#6CE048
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9131

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

Preview Lab → · Contrast checker → · Palette generator →

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