#AF932B#AF932B

#AF932B is a light, vivid yellow. Relative luminance 0.302; OKLCH L 67.1% C 0.122 H 93.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#AF932B
RGBrgb(175, 147, 43)
HSLhsl(47, 61%, 43%)
HSVhsv(47, 75%, 69%)
CMYKcmyk(0%, 16%, 75.4%, 31.4%)
CIE-LABlab(61.79, -0.44, 55.55)
CIE-LCHlch(61.79, 55.55, 90.46°)
OKLaboklab(67.05% -0.007 0.1222)
OKLCHoklch(67.05% 0.122 93.3)
XYZxyz(28.5505, 30.1575, 6.6022)
Luminance0.3016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF932B #2B47AF
analogous
#AF512B #AF932B #89AF2B
triadic
#AF932B #2BAF93 #932BAF
tetradic
#AF932B #2BAF51 #2B47AF #AF2B89
square
#AF932B #2BAF51 #2B47AF #AF2B89
split-complementary
#AF932B #2B89AF #512BAF
monochromatic
#4D4013 #7E6A1F #AF932B #D1B446 #DEC877

Accessibility & contrast

On white

2.99
#AF932B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#AF932B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF932B
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF932B#FFFFFF#000000##000000
##AF932B1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af932b;
/* rgb */ color: rgb(175, 147, 43);
/* oklch */ color: oklch(67.1% 0.122 93.3);
Tailwind
colors: {
  custom: {
    50: '#cbb26c',
    500: '#af932b',
    950: '#000000',
  },
}
SCSS
$custom: #af932b;
$custom-light: #cbb26c;
$custom-dark: #000000;
JSON
{
  "hex": "#af932b",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 43
  },
  "hsl": {
    "h": 47.273,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67053,
    "c": 0.1224,
    "h": 93.3
  },
  "luminance": 0.30156
}

Semantic roles & 50–950 ramp

primary
#AF932B
secondary
#7082C5
accent
#66E444
background
#FDFAF6
surface
#FAF5EC
border
#D3CFC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF932B

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

Preview Lab → · Contrast checker → · Palette generator →

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