#AFA464#AFA464

#AFA464 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.3% C 0.085 H 99.7°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#AFA464
RGBrgb(175, 164, 100)
HSLhsl(51, 32%, 54%)
HSVhsv(51, 43%, 69%)
CMYKcmyk(0%, 6.3%, 42.9%, 31.4%)
CIE-LABlab(66.97, -5.28, 34.59)
CIE-LCHlch(66.97, 34.99, 98.68°)
OKLaboklab(71.34% -0.0144 0.084)
OKLCHoklch(71.34% 0.085 99.7)
XYZxyz(33.2556, 36.5860, 17.3641)
Luminance0.3659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA464 #646FAF
analogous
#AF7F64 #AFA464 #95AF64
triadic
#AFA464 #64AFA4 #A464AF
tetradic
#AFA464 #64AF7F #646FAF #AF6495
square
#AFA464 #64AF7F #646FAF #AF6495
split-complementary
#AFA464 #6495AF #7F64AF
monochromatic
#655E34 #8D8349 #AFA464 #C4BC8C #D9D3B5

Accessibility & contrast

On white

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

On black

8.32
#AFA464 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA464
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA464#FFFFFF#000000##000000
##AFA4641.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA05F
Deuteranopia (green-blind)
#B2A567
Tritanopia (blue-blind)
#B99C94
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa464;
/* rgb */ color: rgb(175, 164, 100);
/* oklch */ color: oklch(71.3% 0.085 99.7);
Tailwind
colors: {
  custom: {
    50: '#c8be91',
    500: '#afa464',
    950: '#000000',
  },
}
SCSS
$custom: #afa464;
$custom-light: #c8be91;
$custom-dark: #000000;
JSON
{
  "hex": "#afa464",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 100
  },
  "hsl": {
    "h": 51.2,
    "s": 31.915,
    "l": 53.922
  },
  "oklch": {
    "l": 0.71339,
    "c": 0.08525,
    "h": 99.7
  },
  "luminance": 0.36585
}

Semantic roles & 50–950 ramp

primary
#AFA464
secondary
#A7ACC7
accent
#6FC860
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120D
muted
#82817D

Preview Lab

Preview with #AFA464

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

Preview Lab → · Contrast checker → · Palette generator →

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