#AF9237#AF9237

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

Color values

HEX#AF9237
RGBrgb(175, 146, 55)
HSLhsl(46, 52%, 45%)
HSVhsv(46, 69%, 69%)
CMYKcmyk(0%, 16.6%, 68.6%, 31.4%)
CIE-LABlab(61.61, 0.72, 50.45)
CIE-LCHlch(61.61, 50.45, 89.19°)
OKLaboklab(66.94% -0.0023 0.1137)
OKLCHoklch(66.94% 0.114 91.1)
XYZxyz(28.6492, 29.9492, 7.8855)
Luminance0.2995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9237 #3754AF
analogous
#AF5637 #AF9237 #90AF37
triadic
#AF9237 #37AF92 #9237AF
tetradic
#AF9237 #37AF56 #3754AF #AF3790
square
#AF9237 #37AF56 #3754AF #AF3790
split-complementary
#AF9237 #3790AF #5637AF
monochromatic
#52441A #806B28 #AF9237 #CBAF59 #D9C587

Accessibility & contrast

On white

3.00
#AF9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#AF9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9237
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9237#FFFFFF#000000##000000
##AF92371.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af9237;
/* rgb */ color: rgb(175, 146, 55);
/* oklch */ color: oklch(66.9% 0.114 91.1);
Tailwind
colors: {
  custom: {
    50: '#cab173',
    500: '#af9237',
    950: '#000000',
  },
}
SCSS
$custom: #af9237;
$custom-light: #cab173;
$custom-dark: #000000;
JSON
{
  "hex": "#af9237",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 45.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.66939,
    "c": 0.11367,
    "h": 91.1
  },
  "luminance": 0.29948
}

Semantic roles & 50–950 ramp

primary
#AF9237
secondary
#7F8FC3
accent
#6FDC4C
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AF9237

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

Preview Lab → · Contrast checker → · Palette generator →

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