#AFA558#AFA558

#AFA558 is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.4% C 0.099 H 102.0°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#AFA558
RGBrgb(175, 165, 88)
HSLhsl(53, 35%, 52%)
HSVhsv(53, 50%, 69%)
CMYKcmyk(0%, 5.7%, 49.7%, 31.4%)
CIE-LABlab(67.07, -7.02, 40.89)
CIE-LCHlch(67.07, 41.49, 99.74°)
OKLaboklab(71.37% -0.0206 0.0973)
OKLCHoklch(71.37% 0.099 102)
XYZxyz(32.8967, 36.7299, 14.5873)
Luminance0.3673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA558 #5862AF
analogous
#AF7A58 #AFA558 #8EAF58
triadic
#AFA558 #58AFA5 #A558AF
tetradic
#AFA558 #58AF7A #5862AF #AF588E
square
#AFA558 #58AF7A #5862AF #AF588E
split-complementary
#AFA558 #588EAF #7A58AF
monochromatic
#5F592E #888041 #AFA558 #C3BB81 #D7D2AB

Accessibility & contrast

On white

2.52
#AFA558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#AFA558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA558
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA558#FFFFFF#000000##000000
##AFA5581.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A151
Deuteranopia (green-blind)
#B4A55B
Tritanopia (blue-blind)
#BA9C93
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa558;
/* rgb */ color: rgb(175, 165, 88);
/* oklch */ color: oklch(71.4% 0.099 102.0);
Tailwind
colors: {
  custom: {
    50: '#c9bf89',
    500: '#afa558',
    950: '#000000',
  },
}
SCSS
$custom: #afa558;
$custom-light: #c9bf89;
$custom-dark: #000000;
JSON
{
  "hex": "#afa558",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 88
  },
  "hsl": {
    "h": 53.103,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.71373,
    "c": 0.09942,
    "h": 102
  },
  "luminance": 0.36729
}

Semantic roles & 50–950 ramp

primary
#AFA558
secondary
#9EA3C5
accent
#69CB5D
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA558

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

Preview Lab → · Contrast checker → · Palette generator →

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