#AFA061#AFA061

#AFA061 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.4% C 0.085 H 96.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#AFA061
RGBrgb(175, 160, 97)
HSLhsl(48, 33%, 53%)
HSVhsv(48, 45%, 69%)
CMYKcmyk(0%, 8.6%, 44.6%, 31.4%)
CIE-LABlab(65.84, -3.46, 34.74)
CIE-LCHlch(65.84, 34.91, 95.68°)
OKLaboklab(70.44% -0.0094 0.0842)
OKLCHoklch(70.44% 0.085 96.4)
XYZxyz(32.4085, 35.1198, 16.3786)
Luminance0.3512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA061 #6170AF
analogous
#AF7961 #AFA061 #97AF61
triadic
#AFA061 #61AFA0 #A061AF
tetradic
#AFA061 #61AF79 #6170AF #AF6197
square
#AFA061 #61AF79 #6170AF #AF6197
split-complementary
#AFA061 #6197AF #7961AF
monochromatic
#635A32 #8C7F47 #AFA061 #C4B88A #D8D1B2

Accessibility & contrast

On white

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

On black

8.02
#AFA061 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA061
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA061#FFFFFF#000000##000000
##AFA0611.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9D5C
Deuteranopia (green-blind)
#B0A263
Tritanopia (blue-blind)
#BA9791
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa061;
/* rgb */ color: rgb(175, 160, 97);
/* oklch */ color: oklch(70.4% 0.085 96.4);
Tailwind
colors: {
  custom: {
    50: '#c8bb8f',
    500: '#afa061',
    950: '#000000',
  },
}
SCSS
$custom: #afa061;
$custom-light: #c8bb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afa061",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 97
  },
  "hsl": {
    "h": 48.462,
    "s": 32.773,
    "l": 53.333
  },
  "oklch": {
    "l": 0.70436,
    "c": 0.08472,
    "h": 96.4
  },
  "luminance": 0.35119
}

Semantic roles & 50–950 ramp

primary
#AFA061
secondary
#A5ACC7
accent
#73C95F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D

Preview Lab

Preview with #AFA061

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

Preview Lab → · Contrast checker → · Palette generator →

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