#AF9437#AF9437

#AF9437 is a light, moderate yellow. Relative luminance 0.306; OKLCH L 67.4% C 0.115 H 92.7°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#AF9437
RGBrgb(175, 148, 55)
HSLhsl(47, 52%, 45%)
HSVhsv(47, 69%, 69%)
CMYKcmyk(0%, 15.4%, 68.6%, 31.4%)
CIE-LABlab(62.14, -0.37, 51.00)
CIE-LCHlch(62.14, 51.00, 90.42°)
OKLaboklab(67.36% -0.0054 0.1148)
OKLCHoklch(67.36% 0.115 92.7)
XYZxyz(28.9602, 30.5712, 7.9891)
Luminance0.3057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9437 #3752AF
analogous
#AF5837 #AF9437 #8EAF37
triadic
#AF9437 #37AF94 #9437AF
tetradic
#AF9437 #37AF58 #3752AF #AF378E
square
#AF9437 #37AF58 #3752AF #AF378E
split-complementary
#AF9437 #378EAF #5837AF
monochromatic
#52451A #806D28 #AF9437 #CBB159 #D9C787

Accessibility & contrast

On white

2.95
#AF9437 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#AF9437 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9437
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9437#FFFFFF#000000##000000
##AF94371.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4922B
Deuteranopia (green-blind)
#AA9A3C
Tritanopia (blue-blind)
#BD8881
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af9437;
/* rgb */ color: rgb(175, 148, 55);
/* oklch */ color: oklch(67.4% 0.115 92.7);
Tailwind
colors: {
  custom: {
    50: '#cab373',
    500: '#af9437',
    950: '#000000',
  },
}
SCSS
$custom: #af9437;
$custom-light: #cab373;
$custom-dark: #000000;
JSON
{
  "hex": "#af9437",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 55
  },
  "hsl": {
    "h": 46.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.6736,
    "c": 0.11496,
    "h": 92.7
  },
  "luminance": 0.3057
}

Semantic roles & 50–950 ramp

primary
#AF9437
secondary
#7F8EC3
accent
#6CDC4C
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9437

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

Preview Lab → · Contrast checker → · Palette generator →

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