#AF9331#AF9331

#AF9331 is a light, moderate yellow. Relative luminance 0.302; OKLCH L 67.1% C 0.119 H 92.6°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#AF9331
RGBrgb(175, 147, 49)
HSLhsl(47, 56%, 44%)
HSVhsv(47, 72%, 69%)
CMYKcmyk(0%, 16%, 72%, 31.4%)
CIE-LABlab(61.83, -0.16, 53.22)
CIE-LCHlch(61.83, 53.22, 90.17°)
OKLaboklab(67.1% -0.0055 0.1184)
OKLCHoklch(67.1% 0.119 92.6)
XYZxyz(28.6688, 30.2048, 7.2252)
Luminance0.3020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9331 #314DAF
analogous
#AF5431 #AF9331 #8CAF31
triadic
#AF9331 #31AF93 #9331AF
tetradic
#AF9331 #31AF54 #314DAF #AF318C
square
#AF9331 #31AF54 #314DAF #AF318C
split-complementary
#AF9331 #318CAF #5431AF
monochromatic
#4F4316 #7F6B24 #AF9331 #CEB24F #DBC77F

Accessibility & contrast

On white

2.98
#AF9331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#AF9331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9331
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9331#FFFFFF#000000##000000
##AF93311.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39123
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#BD877F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af9331;
/* rgb */ color: rgb(175, 147, 49);
/* oklch */ color: oklch(67.1% 0.119 92.6);
Tailwind
colors: {
  custom: {
    50: '#cbb26f',
    500: '#af9331',
    950: '#000000',
  },
}
SCSS
$custom: #af9331;
$custom-light: #cbb26f;
$custom-dark: #000000;
JSON
{
  "hex": "#af9331",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 46.667,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67098,
    "c": 0.11857,
    "h": 92.6
  },
  "luminance": 0.30203
}

Semantic roles & 50–950 ramp

primary
#AF9331
secondary
#7889C4
accent
#6AE048
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9331

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

Preview Lab → · Contrast checker → · Palette generator →

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