#AFA05C#AFA05C

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

Color values

HEX#AFA05C
RGBrgb(175, 160, 92)
HSLhsl(49, 34%, 52%)
HSVhsv(49, 47%, 69%)
CMYKcmyk(0%, 8.6%, 47.4%, 31.4%)
CIE-LABlab(65.77, -3.97, 37.26)
CIE-LCHlch(65.77, 37.47, 96.08°)
OKLaboklab(70.36% -0.0114 0.0895)
OKLCHoklch(70.36% 0.09 97.2)
XYZxyz(32.1827, 35.0295, 15.1893)
Luminance0.3503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA05C #5C6BAF
analogous
#AF775C #AFA05C #94AF5C
triadic
#AFA05C #5CAFA0 #A05CAF
tetradic
#AFA05C #5CAF77 #5C6BAF #AF5C94
square
#AFA05C #5CAF77 #5C6BAF #AF5C94
split-complementary
#AFA05C #5C94AF #775CAF
monochromatic
#615830 #8A7D44 #AFA05C #C3B885 #D7D0AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA05C#FFFFFF#000000##000000
##AFA05C1.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)
#AC9D56
Deuteranopia (green-blind)
#B0A25F
Tritanopia (blue-blind)
#BA9790
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa05c;
/* rgb */ color: rgb(175, 160, 92);
/* oklch */ color: oklch(70.4% 0.090 97.2);
Tailwind
colors: {
  custom: {
    50: '#c8bb8b',
    500: '#afa05c',
    950: '#000000',
  },
}
SCSS
$custom: #afa05c;
$custom-light: #c8bb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#afa05c",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 92
  },
  "hsl": {
    "h": 49.157,
    "s": 34.156,
    "l": 52.353
  },
  "oklch": {
    "l": 0.70358,
    "c": 0.09025,
    "h": 97.2
  },
  "luminance": 0.35028
}

Semantic roles & 50–950 ramp

primary
#AFA05C
secondary
#A1A8C5
accent
#71CA5E
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D

Preview Lab

Preview with #AFA05C

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

Preview Lab → · Contrast checker → · Palette generator →

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