#AFA36E#AFA36E

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

Color values

HEX#AFA36E
RGBrgb(175, 163, 110)
HSLhsl(49, 29%, 56%)
HSVhsv(49, 37%, 69%)
CMYKcmyk(0%, 6.9%, 37.1%, 31.4%)
CIE-LABlab(66.85, -3.61, 29.13)
CIE-LCHlch(66.85, 29.36, 97.06°)
OKLaboklab(71.3% -0.0088 0.072)
OKLCHoklch(71.3% 0.073 96.9)
XYZxyz(33.5914, 36.4351, 20.0120)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA36E #6E7AAF
analogous
#AF826E #AFA36E #9AAF6E
triadic
#AFA36E #6EAFA3 #A36EAF
tetradic
#AFA36E #6EAF82 #6E7AAF #AF6E9A
square
#AFA36E #6EAF82 #6E7AAF #AF6E9A
split-complementary
#AFA36E #6E9AAF #826EAF
monochromatic
#69603A #908450 #AFA36E #C5BC95 #DBD5BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA36E#FFFFFF#000000##000000
##AFA36E1.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)
#ADA06A
Deuteranopia (green-blind)
#B1A570
Tritanopia (blue-blind)
#B99C95
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa36e;
/* rgb */ color: rgb(175, 163, 110);
/* oklch */ color: oklch(71.3% 0.073 96.9);
Tailwind
colors: {
  custom: {
    50: '#c8be98',
    500: '#afa36e',
    950: '#000000',
  },
}
SCSS
$custom: #afa36e;
$custom-light: #c8be98;
$custom-dark: #000000;
JSON
{
  "hex": "#afa36e",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 110
  },
  "hsl": {
    "h": 48.923,
    "s": 28.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.713,
    "c": 0.07252,
    "h": 96.9
  },
  "luminance": 0.36434
}

Semantic roles & 50–950 ramp

primary
#AFA36E
secondary
#AFB4CA
accent
#75C563
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA36E

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

Preview Lab → · Contrast checker → · Palette generator →

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