#AFA644#AFA644

#AFA644 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.3% C 0.119 H 104.1°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#AFA644
RGBrgb(175, 166, 68)
HSLhsl(55, 44%, 48%)
HSVhsv(55, 61%, 69%)
CMYKcmyk(0%, 5.1%, 61.1%, 31.4%)
CIE-LABlab(67.13, -9.19, 50.56)
CIE-LCHlch(67.13, 51.38, 100.30°)
OKLaboklab(71.35% -0.029 0.1159)
OKLCHoklch(71.35% 0.119 104.1)
XYZxyz(32.3599, 36.8049, 10.8672)
Luminance0.3680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA644 #444DAF
analogous
#AF7044 #AFA644 #83AF44
triadic
#AFA644 #44AFA6 #A644AF
tetradic
#AFA644 #44AF70 #444DAF #AF4483
square
#AFA644 #44AF70 #444DAF #AF4483
split-complementary
#AFA644 #4483AF #7044AF
monochromatic
#575222 #837C33 #AFA644 #C5BE6B #D7D197

Accessibility & contrast

On white

2.51
#AFA644 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#AFA644 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA644
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA644#FFFFFF#000000##000000
##AFA6441.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A139
Deuteranopia (green-blind)
#B7A649
Tritanopia (blue-blind)
#BB9B91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa644;
/* rgb */ color: rgb(175, 166, 68);
/* oklch */ color: oklch(71.3% 0.119 104.1);
Tailwind
colors: {
  custom: {
    50: '#c9c07c',
    500: '#afa644',
    950: '#000000',
  },
}
SCSS
$custom: #afa644;
$custom-light: #c9c07c;
$custom-dark: #000000;
JSON
{
  "hex": "#afa644",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 68
  },
  "hsl": {
    "h": 54.953,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71348,
    "c": 0.11949,
    "h": 104.1
  },
  "luminance": 0.36804
}

Semantic roles & 50–950 ramp

primary
#AFA644
secondary
#8C91C2
accent
#5FD454
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFA644

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

Preview Lab → · Contrast checker → · Palette generator →

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