#A4AF3D#A4AF3D

#A4AF3D is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.3% C 0.137 H 114.6°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#A4AF3D
RGBrgb(164, 175, 61)
HSLhsl(66, 48%, 46%)
HSVhsv(66, 65%, 69%)
CMYKcmyk(6.3%, 0%, 65.1%, 31.4%)
CIE-LABlab(68.67, -19.01, 54.97)
CIE-LCHlch(68.67, 58.16, 109.08°)
OKLaboklab(72.34% -0.0569 0.1245)
OKLCHoklch(72.34% 0.137 114.6)
XYZxyz(31.4829, 38.8899, 10.2620)
Luminance0.3889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AF3D #483DAF
analogous
#AF813D #A4AF3D #6BAF3D
triadic
#A4AF3D #3DA4AF #AF3DA4
tetradic
#A4AF3D #3DAF81 #483DAF #AF3D6B
square
#A4AF3D #3DAF81 #483DAF #AF3D6B
split-complementary
#A4AF3D #3D6BAF #813DAF
monochromatic
#4F541D #79822D #A4AF3D #BEC861 #D1D88F

Accessibility & contrast

On white

2.39
#A4AF3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#A4AF3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AF3D
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AF3D#FFFFFF#000000##000000
##A4AF3D1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA72E
Deuteranopia (green-blind)
#BBA945
Tritanopia (blue-blind)
#AEA598
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a4af3d;
/* rgb */ color: rgb(164, 175, 61);
/* oklch */ color: oklch(72.3% 0.137 114.6);
Tailwind
colors: {
  custom: {
    50: '#c2c678',
    500: '#a4af3d',
    950: '#000000',
  },
}
SCSS
$custom: #a4af3d;
$custom-light: #c2c678;
$custom-dark: #000000;
JSON
{
  "hex": "#a4af3d",
  "rgb": {
    "r": 164,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 65.789,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72338,
    "c": 0.13687,
    "h": 114.6
  },
  "luminance": 0.38889
}

Semantic roles & 50–950 ramp

primary
#A4AF3D
secondary
#8B85C3
accent
#50D85D
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A4AF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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