#AF932F#AF932F

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

Color values

HEX#AF932F
RGBrgb(175, 147, 47)
HSLhsl(47, 58%, 44%)
HSVhsv(47, 73%, 69%)
CMYKcmyk(0%, 16%, 73.1%, 31.4%)
CIE-LABlab(61.82, -0.26, 54.02)
CIE-LCHlch(61.82, 54.02, 90.27°)
OKLaboklab(67.08% -0.006 0.1197)
OKLCHoklch(67.08% 0.12 92.9)
XYZxyz(28.6275, 30.1883, 7.0078)
Luminance0.3019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF932F #2F4BAF
analogous
#AF532F #AF932F #8BAF2F
triadic
#AF932F #2FAF93 #932FAF
tetradic
#AF932F #2FAF53 #2F4BAF #AF2F8B
square
#AF932F #2FAF53 #2F4BAF #AF2F8B
split-complementary
#AF932F #2F8BAF #532FAF
monochromatic
#4F4215 #7F6A22 #AF932F #CFB24C #DCC77C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF932F#FFFFFF#000000##000000
##AF932F1.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)
#A39120
Deuteranopia (green-blind)
#AA9935
Tritanopia (blue-blind)
#BD877F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af932f;
/* rgb */ color: rgb(175, 147, 47);
/* oklch */ color: oklch(67.1% 0.120 92.9);
Tailwind
colors: {
  custom: {
    50: '#cbb26e',
    500: '#af932f',
    950: '#000000',
  },
}
SCSS
$custom: #af932f;
$custom-light: #cbb26e;
$custom-dark: #000000;
JSON
{
  "hex": "#af932f",
  "rgb": {
    "r": 175,
    "g": 147,
    "b": 47
  },
  "hsl": {
    "h": 46.875,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67082,
    "c": 0.11989,
    "h": 92.9
  },
  "luminance": 0.30187
}

Semantic roles & 50–950 ramp

primary
#AF932F
secondary
#7587C4
accent
#69E147
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF932F

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

Preview Lab → · Contrast checker → · Palette generator →

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