#AFA05D#AFA05D

#AFA05D is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.4% C 0.089 H 97.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#AFA05D
RGBrgb(175, 160, 93)
HSLhsl(49, 34%, 53%)
HSVhsv(49, 47%, 69%)
CMYKcmyk(0%, 8.6%, 46.9%, 31.4%)
CIE-LABlab(65.79, -3.87, 36.76)
CIE-LCHlch(65.79, 36.96, 96.01°)
OKLaboklab(70.37% -0.011 0.0885)
OKLCHoklch(70.37% 0.089 97.1)
XYZxyz(32.2267, 35.0471, 15.4210)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA05D #5D6CAF
analogous
#AF775D #AFA05D #95AF5D
triadic
#AFA05D #5DAFA0 #A05DAF
tetradic
#AFA05D #5DAF77 #5D6CAF #AF5D95
square
#AFA05D #5DAF77 #5D6CAF #AF5D95
split-complementary
#AFA05D #5D95AF #775DAF
monochromatic
#615830 #8A7E44 #AFA05D #C3B886 #D7D0AF

Accessibility & contrast

On white

2.62
#AFA05D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#AFA05D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA05D
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA05D#FFFFFF#000000##000000
##AFA05D1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9D58
Deuteranopia (green-blind)
#B0A260
Tritanopia (blue-blind)
#BA9790
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa05d;
/* rgb */ color: rgb(175, 160, 93);
/* oklch */ color: oklch(70.4% 0.089 97.1);
Tailwind
colors: {
  custom: {
    50: '#c8bb8c',
    500: '#afa05d',
    950: '#000000',
  },
}
SCSS
$custom: #afa05d;
$custom-light: #c8bb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afa05d",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 93
  },
  "hsl": {
    "h": 49.024,
    "s": 33.884,
    "l": 52.549
  },
  "oklch": {
    "l": 0.70373,
    "c": 0.08916,
    "h": 97.1
  },
  "luminance": 0.35046
}

Semantic roles & 50–950 ramp

primary
#AFA05D
secondary
#A2A9C6
accent
#72CA5E
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D

Preview Lab

Preview with #AFA05D

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

Preview Lab → · Contrast checker → · Palette generator →

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