#AFA44B#AFA44B

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

Color values

HEX#AFA44B
RGBrgb(175, 164, 75)
HSLhsl(53, 40%, 49%)
HSVhsv(53, 57%, 69%)
CMYKcmyk(0%, 6.3%, 57.1%, 31.4%)
CIE-LABlab(66.65, -7.61, 46.78)
CIE-LCHlch(66.65, 47.39, 99.24°)
OKLaboklab(70.99% -0.0237 0.1087)
OKLCHoklch(70.99% 0.111 102.3)
XYZxyz(32.2257, 36.1741, 11.9400)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA44B #4B56AF
analogous
#AF724B #AFA44B #88AF4B
triadic
#AFA44B #4BAFA4 #A44BAF
tetradic
#AFA44B #4BAF72 #4B56AF #AF4B88
square
#AFA44B #4BAF72 #4B56AF #AF4B88
split-complementary
#AFA44B #4B88AF #724BAF
monochromatic
#595426 #847C39 #AFA44B #C3BB74 #D6D09F

Accessibility & contrast

On white

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

On black

8.23
#AFA44B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA44B
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA44B#FFFFFF#000000##000000
##AFA44B1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F42
Deuteranopia (green-blind)
#B5A44F
Tritanopia (blue-blind)
#BB9A90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa44b;
/* rgb */ color: rgb(175, 164, 75);
/* oklch */ color: oklch(71.0% 0.111 102.3);
Tailwind
colors: {
  custom: {
    50: '#c9be80',
    500: '#afa44b',
    950: '#000000',
  },
}
SCSS
$custom: #afa44b;
$custom-light: #c9be80;
$custom-dark: #000000;
JSON
{
  "hex": "#afa44b",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 75
  },
  "hsl": {
    "h": 53.4,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7099,
    "c": 0.11129,
    "h": 102.3
  },
  "luminance": 0.36173
}

Semantic roles & 50–950 ramp

primary
#AFA44B
secondary
#9399C2
accent
#65D058
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFA44B

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

Preview Lab → · Contrast checker → · Palette generator →

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