#AFA461#AFA461

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

Color values

HEX#AFA461
RGBrgb(175, 164, 97)
HSLhsl(52, 33%, 53%)
HSVhsv(52, 45%, 69%)
CMYKcmyk(0%, 6.3%, 44.6%, 31.4%)
CIE-LABlab(66.92, -5.60, 36.10)
CIE-LCHlch(66.92, 36.53, 98.82°)
OKLaboklab(71.29% -0.0156 0.0873)
OKLCHoklch(71.29% 0.089 100.1)
XYZxyz(33.1131, 36.5290, 16.6135)
Luminance0.3653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA461 #616CAF
analogous
#AF7D61 #AFA461 #93AF61
triadic
#AFA461 #61AFA4 #A461AF
tetradic
#AFA461 #61AF7D #616CAF #AF6193
square
#AFA461 #61AF7D #616CAF #AF6193
split-complementary
#AFA461 #6193AF #7D61AF
monochromatic
#635C32 #8C8247 #AFA461 #C4BB8A #D8D3B2

Accessibility & contrast

On white

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

On black

8.31
#AFA461 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA461
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA461#FFFFFF#000000##000000
##AFA4611.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa461;
/* rgb */ color: rgb(175, 164, 97);
/* oklch */ color: oklch(71.3% 0.089 100.1);
Tailwind
colors: {
  custom: {
    50: '#c8be8f',
    500: '#afa461',
    950: '#000000',
  },
}
SCSS
$custom: #afa461;
$custom-light: #c8be8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afa461",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 97
  },
  "hsl": {
    "h": 51.538,
    "s": 32.773,
    "l": 53.333
  },
  "oklch": {
    "l": 0.71291,
    "c": 0.08864,
    "h": 100.1
  },
  "luminance": 0.36528
}

Semantic roles & 50–950 ramp

primary
#AFA461
secondary
#A5AAC7
accent
#6EC95F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA461

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

Preview Lab → · Contrast checker → · Palette generator →

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