#AF9F47#AF9F47

#AF9F47 is a light, moderate yellow. Relative luminance 0.344; OKLCH L 69.9% C 0.110 H 99.1°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#AF9F47
RGBrgb(175, 159, 71)
HSLhsl(51, 42%, 48%)
HSVhsv(51, 59%, 69%)
CMYKcmyk(0%, 9.1%, 59.4%, 31.4%)
CIE-LABlab(65.25, -5.26, 47.09)
CIE-LCHlch(65.25, 47.38, 96.37°)
OKLaboklab(69.87% -0.0174 0.1089)
OKLCHoklch(69.87% 0.11 99.1)
XYZxyz(31.2159, 34.3665, 10.9491)
Luminance0.3437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9F47 #4757AF
analogous
#AF6B47 #AF9F47 #8BAF47
triadic
#AF9F47 #47AF9F #9F47AF
tetradic
#AF9F47 #47AF6B #4757AF #AF478B
square
#AF9F47 #47AF6B #4757AF #AF478B
split-complementary
#AF9F47 #478BAF #6B47AF
monochromatic
#585024 #837735 #AF9F47 #C4B76F #D6CD9A

Accessibility & contrast

On white

2.67
#AF9F47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#AF9F47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9F47
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9F47#FFFFFF#000000##000000
##AF9F471.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B3E
Deuteranopia (green-blind)
#B1A14B
Tritanopia (blue-blind)
#BC958C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af9f47;
/* rgb */ color: rgb(175, 159, 71);
/* oklch */ color: oklch(69.9% 0.110 99.1);
Tailwind
colors: {
  custom: {
    50: '#c9bb7d',
    500: '#af9f47',
    950: '#000000',
  },
}
SCSS
$custom: #af9f47;
$custom-light: #c9bb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#af9f47",
  "rgb": {
    "r": 175,
    "g": 159,
    "b": 71
  },
  "hsl": {
    "h": 50.769,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69866,
    "c": 0.11029,
    "h": 99.1
  },
  "luminance": 0.34365
}

Semantic roles & 50–950 ramp

primary
#AF9F47
secondary
#8F97C2
accent
#69D256
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #AF9F47

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

Preview Lab → · Contrast checker → · Palette generator →

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