#AFA445#AFA445

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

Color values

HEX#AFA445
RGBrgb(175, 164, 69)
HSLhsl(54, 43%, 48%)
HSVhsv(54, 61%, 69%)
CMYKcmyk(0%, 6.3%, 60.6%, 31.4%)
CIE-LABlab(66.59, -8.06, 49.51)
CIE-LCHlch(66.59, 50.16, 99.25°)
OKLaboklab(70.92% -0.0257 0.1138)
OKLCHoklch(70.92% 0.117 102.7)
XYZxyz(32.0300, 36.0958, 10.9091)
Luminance0.3609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA445 #4550AF
analogous
#AF6F45 #AFA445 #85AF45
triadic
#AFA445 #45AFA4 #A445AF
tetradic
#AFA445 #45AF6F #4550AF #AF4585
square
#AFA445 #45AF6F #4550AF #AF4585
split-complementary
#AFA445 #4585AF #6F45AF
monochromatic
#575222 #837B34 #AFA445 #C5BC6C #D6D098

Accessibility & contrast

On white

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

On black

8.22
#AFA445 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA445
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA445#FFFFFF#000000##000000
##AFA4451.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa445;
/* rgb */ color: rgb(175, 164, 69);
/* oklch */ color: oklch(70.9% 0.117 102.7);
Tailwind
colors: {
  custom: {
    50: '#c9be7c',
    500: '#afa445',
    950: '#000000',
  },
}
SCSS
$custom: #afa445;
$custom-light: #c9be7c;
$custom-dark: #000000;
JSON
{
  "hex": "#afa445",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 69
  },
  "hsl": {
    "h": 53.774,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.70924,
    "c": 0.11669,
    "h": 102.7
  },
  "luminance": 0.36095
}

Semantic roles & 50–950 ramp

primary
#AFA445
secondary
#8D93C2
accent
#62D355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFA445

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

Preview Lab → · Contrast checker → · Palette generator →

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