#AF9231#AF9231

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

Color values

HEX#AF9231
RGBrgb(175, 146, 49)
HSLhsl(46, 56%, 44%)
HSVhsv(46, 72%, 69%)
CMYKcmyk(0%, 16.6%, 72%, 31.4%)
CIE-LABlab(61.56, 0.39, 52.95)
CIE-LCHlch(61.56, 52.95, 89.58°)
OKLaboklab(66.89% -0.0039 0.1179)
OKLCHoklch(66.89% 0.118 91.9)
XYZxyz(28.5140, 29.8952, 7.1736)
Luminance0.2989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9231 #314EAF
analogous
#AF5331 #AF9231 #8DAF31
triadic
#AF9231 #31AF92 #9231AF
tetradic
#AF9231 #31AF53 #314EAF #AF318D
square
#AF9231 #31AF53 #314EAF #AF318D
split-complementary
#AF9231 #318DAF #5331AF
monochromatic
#4F4216 #7F6A24 #AF9231 #CEB14F #DBC67F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9231#FFFFFF#000000##000000
##AF92311.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)
#A29023
Deuteranopia (green-blind)
#A99836
Tritanopia (blue-blind)
#BD867E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #af9231;
/* rgb */ color: rgb(175, 146, 49);
/* oklch */ color: oklch(66.9% 0.118 91.9);
Tailwind
colors: {
  custom: {
    50: '#cbb16f',
    500: '#af9231',
    950: '#000000',
  },
}
SCSS
$custom: #af9231;
$custom-light: #cbb16f;
$custom-dark: #000000;
JSON
{
  "hex": "#af9231",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 49
  },
  "hsl": {
    "h": 46.19,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66887,
    "c": 0.11794,
    "h": 91.9
  },
  "luminance": 0.29893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF9231

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

Preview Lab → · Contrast checker → · Palette generator →

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