#AFA44F#AFA44F

#AFA44F is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.0% C 0.107 H 102.0°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#AFA44F
RGBrgb(175, 164, 79)
HSLhsl(53, 38%, 50%)
HSVhsv(53, 55%, 69%)
CMYKcmyk(0%, 6.3%, 54.9%, 31.4%)
CIE-LABlab(66.70, -7.29, 44.90)
CIE-LCHlch(66.70, 45.49, 99.22°)
OKLaboklab(71.04% -0.0223 0.1051)
OKLCHoklch(71.04% 0.107 102)
XYZxyz(32.3670, 36.2305, 12.6839)
Luminance0.3623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA44F #4F5AAF
analogous
#AF744F #AFA44F #8AAF4F
triadic
#AFA44F #4FAFA4 #A44FAF
tetradic
#AFA44F #4FAF74 #4F5AAF #AF4F8A
square
#AFA44F #4FAF74 #4F5AAF #AF4F8A
split-complementary
#AFA44F #4F8AAF #744FAF
monochromatic
#5B5529 #857C3C #AFA44F #C2BA79 #D5D0A3

Accessibility & contrast

On white

2.55
#AFA44F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#AFA44F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA44F
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA44F#FFFFFF#000000##000000
##AFA44F1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F47
Deuteranopia (green-blind)
#B4A453
Tritanopia (blue-blind)
#BB9A91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa44f;
/* rgb */ color: rgb(175, 164, 79);
/* oklch */ color: oklch(71.0% 0.107 102.0);
Tailwind
colors: {
  custom: {
    50: '#c9be83',
    500: '#afa44f',
    950: '#000000',
  },
}
SCSS
$custom: #afa44f;
$custom-light: #c9be83;
$custom-dark: #000000;
JSON
{
  "hex": "#afa44f",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 79
  },
  "hsl": {
    "h": 53.125,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.71038,
    "c": 0.10749,
    "h": 102
  },
  "luminance": 0.36229
}

Semantic roles & 50–950 ramp

primary
#AFA44F
secondary
#979CC3
accent
#67CE5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA44F

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

Preview Lab → · Contrast checker → · Palette generator →

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