#AFA36A#AFA36A

#AFA36A is a light, moderate yellow. Relative luminance 0.363; OKLCH L 71.2% C 0.077 H 97.7°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#AFA36A
RGBrgb(175, 163, 106)
HSLhsl(50, 30%, 55%)
HSVhsv(50, 39%, 69%)
CMYKcmyk(0%, 6.9%, 39.4%, 31.4%)
CIE-LABlab(66.79, -4.08, 31.19)
CIE-LCHlch(66.79, 31.45, 97.45°)
OKLaboklab(71.23% -0.0104 0.0766)
OKLCHoklch(71.23% 0.077 97.7)
XYZxyz(33.3785, 36.3500, 18.8909)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA36A #6A76AF
analogous
#AF806A #AFA36A #99AF6A
triadic
#AFA36A #6AAFA3 #A36AAF
tetradic
#AFA36A #6AAF80 #6A76AF #AF6A99
square
#AFA36A #6AAF80 #6A76AF #AF6A99
split-complementary
#AFA36A #6A99AF #806AAF
monochromatic
#675F37 #8F834D #AFA36A #C4BC92 #DAD4BA

Accessibility & contrast

On white

2.54
#AFA36A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#AFA36A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA36A
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA36A#FFFFFF#000000##000000
##AFA36A1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA066
Deuteranopia (green-blind)
#B1A46C
Tritanopia (blue-blind)
#B99B95
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa36a;
/* rgb */ color: rgb(175, 163, 106);
/* oklch */ color: oklch(71.2% 0.077 97.7);
Tailwind
colors: {
  custom: {
    50: '#c8be95',
    500: '#afa36a',
    950: '#000000',
  },
}
SCSS
$custom: #afa36a;
$custom-light: #c8be95;
$custom-dark: #000000;
JSON
{
  "hex": "#afa36a",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 106
  },
  "hsl": {
    "h": 49.565,
    "s": 30.131,
    "l": 55.098
  },
  "oklch": {
    "l": 0.71228,
    "c": 0.07728,
    "h": 97.7
  },
  "luminance": 0.36349
}

Semantic roles & 50–950 ramp

primary
#AFA36A
secondary
#ACB1C9
accent
#73C661
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA36A

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

Preview Lab → · Contrast checker → · Palette generator →

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