#AFA467#AFA467

#AFA467 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.082 H 99.3°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#AFA467
RGBrgb(175, 164, 103)
HSLhsl(51, 31%, 55%)
HSVhsv(51, 41%, 69%)
CMYKcmyk(0%, 6.3%, 41.1%, 31.4%)
CIE-LABlab(67.01, -4.95, 33.06)
CIE-LCHlch(67.01, 33.43, 98.52°)
OKLaboklab(71.39% -0.0132 0.0807)
OKLCHoklch(71.39% 0.082 99.3)
XYZxyz(33.4035, 36.6452, 18.1430)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA467 #6772AF
analogous
#AF8067 #AFA467 #96AF67
triadic
#AFA467 #67AFA4 #A467AF
tetradic
#AFA467 #67AF80 #6772AF #AF6796
square
#AFA467 #67AF80 #6772AF #AF6796
split-complementary
#AFA467 #6796AF #8067AF
monochromatic
#665F36 #8E844B #AFA467 #C4BC8F #D9D4B7

Accessibility & contrast

On white

2.52
#AFA467 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#AFA467 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA467
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA467#FFFFFF#000000##000000
##AFA4671.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA162
Deuteranopia (green-blind)
#B2A569
Tritanopia (blue-blind)
#B99C95
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa467;
/* rgb */ color: rgb(175, 164, 103);
/* oklch */ color: oklch(71.4% 0.082 99.3);
Tailwind
colors: {
  custom: {
    50: '#c8be93',
    500: '#afa467',
    950: '#000000',
  },
}
SCSS
$custom: #afa467;
$custom-light: #c8be93;
$custom-dark: #000000;
JSON
{
  "hex": "#afa467",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 103
  },
  "hsl": {
    "h": 50.833,
    "s": 31.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.71389,
    "c": 0.0818,
    "h": 99.3
  },
  "luminance": 0.36644
}

Semantic roles & 50–950 ramp

primary
#AFA467
secondary
#AAAEC8
accent
#70C761
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA467

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

Preview Lab → · Contrast checker → · Palette generator →

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