#AF9947#AF9947

#AF9947 is a light, moderate yellow. Relative luminance 0.324; OKLCH L 68.6% C 0.105 H 94.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#AF9947
RGBrgb(175, 153, 71)
HSLhsl(47, 42%, 48%)
HSVhsv(47, 59%, 69%)
CMYKcmyk(0%, 12.6%, 59.4%, 31.4%)
CIE-LABlab(63.63, -2.03, 45.25)
CIE-LCHlch(63.63, 45.30, 92.56°)
OKLaboklab(68.58% -0.0082 0.105)
OKLCHoklch(68.58% 0.105 94.4)
XYZxyz(30.2090, 32.3528, 10.6135)
Luminance0.3235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9947 #475DAF
analogous
#AF6547 #AF9947 #91AF47
triadic
#AF9947 #47AF99 #9947AF
tetradic
#AF9947 #47AF65 #475DAF #AF4791
square
#AF9947 #47AF65 #475DAF #AF4791
split-complementary
#AF9947 #4791AF #6547AF
monochromatic
#584D24 #837335 #AF9947 #C4B26F #D6C99A

Accessibility & contrast

On white

2.81
#AF9947 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#AF9947 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9947
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9947#FFFFFF#000000##000000
##AF99471.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7963F
Deuteranopia (green-blind)
#AD9D4B
Tritanopia (blue-blind)
#BC8E87
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af9947;
/* rgb */ color: rgb(175, 153, 71);
/* oklch */ color: oklch(68.6% 0.105 94.4);
Tailwind
colors: {
  custom: {
    50: '#c9b67d',
    500: '#af9947',
    950: '#000000',
  },
}
SCSS
$custom: #af9947;
$custom-light: #c9b67d;
$custom-dark: #000000;
JSON
{
  "hex": "#af9947",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 71
  },
  "hsl": {
    "h": 47.308,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.68585,
    "c": 0.10529,
    "h": 94.4
  },
  "luminance": 0.32351
}

Semantic roles & 50–950 ramp

primary
#AF9947
secondary
#8F9AC2
accent
#70D256
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #AF9947

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

Preview Lab → · Contrast checker → · Palette generator →

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