#AFA05E#AFA05E

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

Color values

HEX#AFA05E
RGBrgb(175, 160, 94)
HSLhsl(49, 34%, 53%)
HSVhsv(49, 46%, 69%)
CMYKcmyk(0%, 8.6%, 46.3%, 31.4%)
CIE-LABlab(65.80, -3.77, 36.26)
CIE-LCHlch(65.80, 36.45, 95.93°)
OKLaboklab(70.39% -0.0106 0.0874)
OKLCHoklch(70.39% 0.088 96.9)
XYZxyz(32.2713, 35.0649, 15.6558)
Luminance0.3506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA05E #5E6DAF
analogous
#AF775E #AFA05E #95AF5E
triadic
#AFA05E #5EAFA0 #A05EAF
tetradic
#AFA05E #5EAF77 #5E6DAF #AF5E95
square
#AFA05E #5EAF77 #5E6DAF #AF5E95
split-complementary
#AFA05E #5E95AF #775EAF
monochromatic
#625931 #8B7E45 #AFA05E #C3B887 #D8D0B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA05E#FFFFFF#000000##000000
##AFA05E1.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)
#AC9D59
Deuteranopia (green-blind)
#B0A261
Tritanopia (blue-blind)
#BA9790
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa05e;
/* rgb */ color: rgb(175, 160, 94);
/* oklch */ color: oklch(70.4% 0.088 96.9);
Tailwind
colors: {
  custom: {
    50: '#c8bb8d',
    500: '#afa05e',
    950: '#000000',
  },
}
SCSS
$custom: #afa05e;
$custom-light: #c8bb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afa05e",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 94
  },
  "hsl": {
    "h": 48.889,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.70389,
    "c": 0.08806,
    "h": 96.9
  },
  "luminance": 0.35064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA05E

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

Preview Lab → · Contrast checker → · Palette generator →

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