#AFA05A#AFA05A

#AFA05A is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.3% C 0.092 H 97.5°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#AFA05A
RGBrgb(175, 160, 90)
HSLhsl(49, 35%, 52%)
HSVhsv(49, 49%, 69%)
CMYKcmyk(0%, 8.6%, 48.6%, 31.4%)
CIE-LABlab(65.74, -4.16, 38.26)
CIE-LCHlch(65.74, 38.48, 96.21°)
OKLaboklab(70.33% -0.0121 0.0916)
OKLCHoklch(70.33% 0.092 97.5)
XYZxyz(32.0964, 34.9949, 14.7349)
Luminance0.3499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA05A #5A69AF
analogous
#AF765A #AFA05A #94AF5A
triadic
#AFA05A #5AAFA0 #A05AAF
tetradic
#AFA05A #5AAF76 #5A69AF #AF5A94
square
#AFA05A #5AAF76 #5A69AF #AF5A94
split-complementary
#AFA05A #5A94AF #765AAF
monochromatic
#60572F #897D43 #AFA05A #C3B883 #D7CFAC

Accessibility & contrast

On white

2.63
#AFA05A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#AFA05A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA05A
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA05A#FFFFFF#000000##000000
##AFA05A1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9D54
Deuteranopia (green-blind)
#B0A25D
Tritanopia (blue-blind)
#BA978F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa05a;
/* rgb */ color: rgb(175, 160, 90);
/* oklch */ color: oklch(70.3% 0.092 97.5);
Tailwind
colors: {
  custom: {
    50: '#c9bb8a',
    500: '#afa05a',
    950: '#000000',
  },
}
SCSS
$custom: #afa05a;
$custom-light: #c9bb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afa05a",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 90
  },
  "hsl": {
    "h": 49.412,
    "s": 34.694,
    "l": 51.961
  },
  "oklch": {
    "l": 0.70328,
    "c": 0.0924,
    "h": 97.5
  },
  "luminance": 0.34994
}

Semantic roles & 50–950 ramp

primary
#AFA05A
secondary
#A0A6C5
accent
#70CB5D
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D

Preview Lab

Preview with #AFA05A

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

Preview Lab → · Contrast checker → · Palette generator →

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