#AFA443#AFA443

#AFA443 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 70.9% C 0.118 H 102.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#AFA443
RGBrgb(175, 164, 67)
HSLhsl(54, 45%, 47%)
HSVhsv(54, 62%, 69%)
CMYKcmyk(0%, 6.3%, 61.7%, 31.4%)
CIE-LABlab(66.57, -8.20, 50.40)
CIE-LCHlch(66.57, 51.06, 99.24°)
OKLaboklab(70.9% -0.0264 0.1154)
OKLCHoklch(70.9% 0.118 102.9)
XYZxyz(31.9690, 36.0713, 10.5876)
Luminance0.3607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA443 #434EAF
analogous
#AF6E43 #AFA443 #84AF43
triadic
#AFA443 #43AFA4 #A443AF
tetradic
#AFA443 #43AF6E #434EAF #AF4384
square
#AFA443 #43AF6E #434EAF #AF4384
split-complementary
#AFA443 #4384AF #6E43AF
monochromatic
#565121 #837B32 #AFA443 #C6BC69 #D7D096

Accessibility & contrast

On white

2.56
#AFA443 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#AFA443 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA443
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA443#FFFFFF#000000##000000
##AFA4431.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F38
Deuteranopia (green-blind)
#B5A448
Tritanopia (blue-blind)
#BB998F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa443;
/* rgb */ color: rgb(175, 164, 67);
/* oklch */ color: oklch(70.9% 0.118 102.9);
Tailwind
colors: {
  custom: {
    50: '#cabe7b',
    500: '#afa443',
    950: '#000000',
  },
}
SCSS
$custom: #afa443;
$custom-light: #cabe7b;
$custom-dark: #000000;
JSON
{
  "hex": "#afa443",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 67
  },
  "hsl": {
    "h": 53.889,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.70903,
    "c": 0.1184,
    "h": 102.9
  },
  "luminance": 0.3607
}

Semantic roles & 50–950 ramp

primary
#AFA443
secondary
#8B91C2
accent
#61D453
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFA443

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

Preview Lab → · Contrast checker → · Palette generator →

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