#AFA44E#AFA44E

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

Color values

HEX#AFA44E
RGBrgb(175, 164, 78)
HSLhsl(53, 38%, 50%)
HSVhsv(53, 55%, 69%)
CMYKcmyk(0%, 6.3%, 55.4%, 31.4%)
CIE-LABlab(66.68, -7.37, 45.37)
CIE-LCHlch(66.68, 45.97, 99.23°)
OKLaboklab(71.03% -0.0227 0.1061)
OKLCHoklch(71.03% 0.108 102.1)
XYZxyz(32.3309, 36.2161, 12.4936)
Luminance0.3622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA44E #4E59AF
analogous
#AF744E #AFA44E #8AAF4E
triadic
#AFA44E #4EAFA4 #A44EAF
tetradic
#AFA44E #4EAF74 #4E59AF #AF4E8A
square
#AFA44E #4EAF74 #4E59AF #AF4E8A
split-complementary
#AFA44E #4E8AAF #744EAF
monochromatic
#5A5528 #857C3B #AFA44E #C3BA78 #D6D0A2

Accessibility & contrast

On white

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

On black

8.24
#AFA44E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA44E
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA44E#FFFFFF#000000##000000
##AFA44E1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa44e;
/* rgb */ color: rgb(175, 164, 78);
/* oklch */ color: oklch(71.0% 0.108 102.1);
Tailwind
colors: {
  custom: {
    50: '#c9be82',
    500: '#afa44e',
    950: '#000000',
  },
}
SCSS
$custom: #afa44e;
$custom-light: #c9be82;
$custom-dark: #000000;
JSON
{
  "hex": "#afa44e",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 78
  },
  "hsl": {
    "h": 53.196,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71026,
    "c": 0.10845,
    "h": 102.1
  },
  "luminance": 0.36215
}

Semantic roles & 50–950 ramp

primary
#AFA44E
secondary
#969BC3
accent
#67CE5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA44E

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

Preview Lab → · Contrast checker → · Palette generator →

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