#AF9232#AF9232

#AF9232 is a light, moderate yellow. Relative luminance 0.299; OKLCH L 66.9% C 0.117 H 91.8°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#AF9232
RGBrgb(175, 146, 50)
HSLhsl(46, 56%, 44%)
HSVhsv(46, 71%, 69%)
CMYKcmyk(0%, 16.6%, 71.4%, 31.4%)
CIE-LABlab(61.57, 0.44, 52.55)
CIE-LCHlch(61.57, 52.55, 89.52°)
OKLaboklab(66.9% -0.0036 0.1172)
OKLCHoklch(66.9% 0.117 91.8)
XYZxyz(28.5353, 29.9037, 7.2860)
Luminance0.2990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9232 #324FAF
analogous
#AF5432 #AF9232 #8EAF32
triadic
#AF9232 #32AF92 #9232AF
tetradic
#AF9232 #32AF54 #324FAF #AF328E
square
#AF9232 #32AF54 #324FAF #AF328E
split-complementary
#AF9232 #328EAF #5432AF
monochromatic
#504317 #7F6A24 #AF9232 #CDB051 #DBC681

Accessibility & contrast

On white

3.01
#AF9232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#AF9232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9232
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9232#FFFFFF#000000##000000
##AF92321.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29024
Deuteranopia (green-blind)
#A99837
Tritanopia (blue-blind)
#BD867F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af9232;
/* rgb */ color: rgb(175, 146, 50);
/* oklch */ color: oklch(66.9% 0.117 91.8);
Tailwind
colors: {
  custom: {
    50: '#cbb170',
    500: '#af9232',
    950: '#000000',
  },
}
SCSS
$custom: #af9232;
$custom-light: #cbb170;
$custom-dark: #000000;
JSON
{
  "hex": "#af9232",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 50
  },
  "hsl": {
    "h": 46.08,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66895,
    "c": 0.11726,
    "h": 91.8
  },
  "luminance": 0.29902
}

Semantic roles & 50–950 ramp

primary
#AF9232
secondary
#798AC4
accent
#6CDF49
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9232

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

Preview Lab → · Contrast checker → · Palette generator →

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