#AF9C3D#AF9C3D

#AF9C3D is a light, moderate yellow. Relative luminance 0.332; OKLCH L 69.1% C 0.116 H 97.9°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#AF9C3D
RGBrgb(175, 156, 61)
HSLhsl(50, 48%, 46%)
HSVhsv(50, 65%, 69%)
CMYKcmyk(0%, 10.9%, 65.1%, 31.4%)
CIE-LABlab(64.35, -4.34, 50.68)
CIE-LCHlch(64.35, 50.87, 94.89°)
OKLaboklab(69.12% -0.016 0.1151)
OKLCHoklch(69.12% 0.116 97.9)
XYZxyz(30.4113, 33.2292, 9.2260)
Luminance0.3323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9C3D #3D50AF
analogous
#AF633D #AF9C3D #89AF3D
triadic
#AF9C3D #3DAF9C #9C3DAF
tetradic
#AF9C3D #3DAF63 #3D50AF #AF3D89
square
#AF9C3D #3DAF63 #3D50AF #AF3D89
split-complementary
#AF9C3D #3D89AF #633DAF
monochromatic
#544B1D #82742D #AF9C3D #C8B761 #D8CC8F

Accessibility & contrast

On white

2.75
#AF9C3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#AF9C3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9C3D
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9C3D#FFFFFF#000000##000000
##AF9C3D1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9832
Deuteranopia (green-blind)
#B09F42
Tritanopia (blue-blind)
#BC9188
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af9c3d;
/* rgb */ color: rgb(175, 156, 61);
/* oklch */ color: oklch(69.1% 0.116 97.9);
Tailwind
colors: {
  custom: {
    50: '#cab877',
    500: '#af9c3d',
    950: '#000000',
  },
}
SCSS
$custom: #af9c3d;
$custom-light: #cab877;
$custom-dark: #000000;
JSON
{
  "hex": "#af9c3d",
  "rgb": {
    "r": 175,
    "g": 156,
    "b": 61
  },
  "hsl": {
    "h": 50,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69118,
    "c": 0.11625,
    "h": 97.9
  },
  "luminance": 0.33228
}

Semantic roles & 50–950 ramp

primary
#AF9C3D
secondary
#858FC3
accent
#67D850
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF9C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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