#AF9D3C#AF9D3C

#AF9D3C is a light, moderate yellow. Relative luminance 0.336; OKLCH L 69.3% C 0.118 H 98.7°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#AF9D3C
RGBrgb(175, 157, 60)
HSLhsl(51, 49%, 46%)
HSVhsv(51, 66%, 69%)
CMYKcmyk(0%, 10.3%, 65.7%, 31.4%)
CIE-LABlab(64.61, -4.94, 51.40)
CIE-LCHlch(64.61, 51.64, 95.49°)
OKLaboklab(69.32% -0.0179 0.1165)
OKLCHoklch(69.32% 0.118 98.7)
XYZxyz(30.5531, 33.5555, 9.1416)
Luminance0.3355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9D3C #3C4EAF
analogous
#AF633C #AF9D3C #87AF3C
triadic
#AF9D3C #3CAF9D #9D3CAF
tetradic
#AF9D3C #3CAF63 #3C4EAF #AF3C87
square
#AF9D3C #3CAF63 #3C4EAF #AF3C87
split-complementary
#AF9D3C #3C87AF #633CAF
monochromatic
#544B1D #81742C #AF9D3C #C8B860 #D8CC8D

Accessibility & contrast

On white

2.72
#AF9D3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#AF9D3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9D3C
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9D3C#FFFFFF#000000##000000
##AF9D3C1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9930
Deuteranopia (green-blind)
#B19F41
Tritanopia (blue-blind)
#BC9289
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af9d3c;
/* rgb */ color: rgb(175, 157, 60);
/* oklch */ color: oklch(69.3% 0.118 98.7);
Tailwind
colors: {
  custom: {
    50: '#cab976',
    500: '#af9d3c',
    950: '#000000',
  },
}
SCSS
$custom: #af9d3c;
$custom-light: #cab976;
$custom-dark: #000000;
JSON
{
  "hex": "#af9d3c",
  "rgb": {
    "r": 175,
    "g": 157,
    "b": 60
  },
  "hsl": {
    "h": 50.609,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69323,
    "c": 0.11787,
    "h": 98.7
  },
  "luminance": 0.33554
}

Semantic roles & 50–950 ramp

primary
#AF9D3C
secondary
#848EC3
accent
#65D84F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF9D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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