#AFA36F#AFA36F

#AFA36F is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.3% C 0.071 H 96.7°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#AFA36F
RGBrgb(175, 163, 111)
HSLhsl(49, 29%, 56%)
HSVhsv(49, 37%, 69%)
CMYKcmyk(0%, 6.9%, 36.6%, 31.4%)
CIE-LABlab(66.87, -3.49, 28.62)
CIE-LCHlch(66.87, 28.83, 96.95°)
OKLaboklab(71.32% -0.0083 0.0708)
OKLCHoklch(71.32% 0.071 96.7)
XYZxyz(33.6462, 36.4570, 20.3004)
Luminance0.3646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA36F #6F7BAF
analogous
#AF836F #AFA36F #9BAF6F
triadic
#AFA36F #6FAFA3 #A36FAF
tetradic
#AFA36F #6FAF83 #6F7BAF #AF6F9B
square
#AFA36F #6FAF83 #6F7BAF #AF6F9B
split-complementary
#AFA36F #6F9BAF #836FAF
monochromatic
#69603A #918450 #AFA36F #C5BC96 #DBD5BE

Accessibility & contrast

On white

2.53
#AFA36F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#AFA36F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA36F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA36F#FFFFFF#000000##000000
##AFA36F1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA06B
Deuteranopia (green-blind)
#B0A571
Tritanopia (blue-blind)
#B89C96
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa36f;
/* rgb */ color: rgb(175, 163, 111);
/* oklch */ color: oklch(71.3% 0.071 96.7);
Tailwind
colors: {
  custom: {
    50: '#c8be99',
    500: '#afa36f',
    950: '#000000',
  },
}
SCSS
$custom: #afa36f;
$custom-light: #c8be99;
$custom-dark: #000000;
JSON
{
  "hex": "#afa36f",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 111
  },
  "hsl": {
    "h": 48.75,
    "s": 28.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.71318,
    "c": 0.07132,
    "h": 96.7
  },
  "luminance": 0.36456
}

Semantic roles & 50–950 ramp

primary
#AFA36F
secondary
#B0B5CA
accent
#75C563
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA36F

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

Preview Lab → · Contrast checker → · Palette generator →

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