#AFA460#AFA460

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

Color values

HEX#AFA460
RGBrgb(175, 164, 96)
HSLhsl(52, 33%, 53%)
HSVhsv(52, 45%, 69%)
CMYKcmyk(0%, 6.3%, 45.1%, 31.4%)
CIE-LABlab(66.91, -5.70, 36.60)
CIE-LCHlch(66.91, 37.04, 98.86°)
OKLaboklab(71.28% -0.016 0.0883)
OKLCHoklch(71.28% 0.09 100.3)
XYZxyz(33.0668, 36.5105, 16.3695)
Luminance0.3651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA460 #606BAF
analogous
#AF7C60 #AFA460 #92AF60
triadic
#AFA460 #60AFA4 #A460AF
tetradic
#AFA460 #60AF7C #606BAF #AF6092
square
#AFA460 #60AF7C #606BAF #AF6092
split-complementary
#AFA460 #6092AF #7C60AF
monochromatic
#635C32 #8C8246 #AFA460 #C3BB89 #D8D3B1

Accessibility & contrast

On white

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

On black

8.30
#AFA460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA460
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA460#FFFFFF#000000##000000
##AFA4601.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A05B
Deuteranopia (green-blind)
#B3A563
Tritanopia (blue-blind)
#BA9B94
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa460;
/* rgb */ color: rgb(175, 164, 96);
/* oklch */ color: oklch(71.3% 0.090 100.3);
Tailwind
colors: {
  custom: {
    50: '#c8be8e',
    500: '#afa460',
    950: '#000000',
  },
}
SCSS
$custom: #afa460;
$custom-light: #c8be8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa460",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 96
  },
  "hsl": {
    "h": 51.646,
    "s": 33.054,
    "l": 53.137
  },
  "oklch": {
    "l": 0.71276,
    "c": 0.08975,
    "h": 100.3
  },
  "luminance": 0.36509
}

Semantic roles & 50–950 ramp

primary
#AFA460
secondary
#A4A9C6
accent
#6DC95F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA460

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

Preview Lab → · Contrast checker → · Palette generator →

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