#AF932D#AF932D

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

Color values

HEX#AF932D
RGBrgb(175, 147, 45)
HSLhsl(47, 59%, 43%)
HSVhsv(47, 74%, 69%)
CMYKcmyk(0%, 16%, 74.3%, 31.4%)
CIE-LABlab(61.80, -0.35, 54.79)
CIE-LCHlch(61.80, 54.79, 90.37°)
OKLaboklab(67.07% -0.0065 0.121)
OKLCHoklch(67.07% 0.121 93.1)
XYZxyz(28.5881, 30.1725, 6.8002)
Luminance0.3017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF932D #2D49AF
analogous
#AF522D #AF932D #8AAF2D
triadic
#AF932D #2DAF93 #932DAF
tetradic
#AF932D #2DAF52 #2D49AF #AF2D8A
square
#AF932D #2DAF52 #2D49AF #AF2D8A
split-complementary
#AF932D #2D8AAF #522DAF
monochromatic
#4E4114 #7E6A20 #AF932D #D0B349 #DDC77A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF932D#FFFFFF#000000##000000
##AF932D1.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)
#A3911C
Deuteranopia (green-blind)
#AA9933
Tritanopia (blue-blind)
#BD877F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af932d;
/* rgb */ color: rgb(175, 147, 45);
/* oklch */ color: oklch(67.1% 0.121 93.1);
Tailwind
colors: {
  custom: {
    50: '#cbb26d',
    500: '#af932d',
    950: '#000000',
  },
}
SCSS
$custom: #af932d;
$custom-light: #cbb26d;
$custom-dark: #000000;
JSON
{
  "hex": "#af932d",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 45
  },
  "hsl": {
    "h": 47.077,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67067,
    "c": 0.12116,
    "h": 93.1
  },
  "luminance": 0.30171
}

Semantic roles & 50–950 ramp

primary
#AF932D
secondary
#7385C5
accent
#67E246
background
#FDFAF6
surface
#FAF5EC
border
#D3CFC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF932D

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

Preview Lab → · Contrast checker → · Palette generator →

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