#A4AF2A#A4AF2A

#A4AF2A is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.2% C 0.149 H 114.4°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#A4AF2A
RGBrgb(164, 175, 42)
HSLhsl(65, 61%, 43%)
HSVhsv(65, 76%, 69%)
CMYKcmyk(6.3%, 0%, 76%, 31.4%)
CIE-LABlab(68.55, -20.04, 61.91)
CIE-LCHlch(68.55, 65.07, 107.94°)
OKLaboklab(72.2% -0.0616 0.1359)
OKLCHoklch(72.2% 0.149 114.4)
XYZxyz(31.0587, 38.7202, 8.0277)
Luminance0.3872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AF2A #352AAF
analogous
#AF772A #A4AF2A #62AF2A
triadic
#A4AF2A #2AA4AF #AF2AA4
tetradic
#A4AF2A #2AAF77 #352AAF #AF2A62
square
#A4AF2A #2AAF77 #352AAF #AF2A62
split-complementary
#A4AF2A #2A62AF #772AAF
monochromatic
#474C12 #767E1E #A4AF2A #C6D244 #D5DE75

Accessibility & contrast

On white

2.40
#A4AF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#A4AF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AF2A
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AF2A#FFFFFF#000000##000000
##A4AF2A1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA608
Deuteranopia (green-blind)
#BCA836
Tritanopia (blue-blind)
#AFA496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a4af2a;
/* rgb */ color: rgb(164, 175, 42);
/* oklch */ color: oklch(72.2% 0.149 114.4);
Tailwind
colors: {
  custom: {
    50: '#c3c66f',
    500: '#a4af2a',
    950: '#000000',
  },
}
SCSS
$custom: #a4af2a;
$custom-light: #c3c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#a4af2a",
  "rgb": {
    "r": 164,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 64.962,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.722,
    "c": 0.14924,
    "h": 114.4
  },
  "luminance": 0.3872
}

Semantic roles & 50–950 ramp

primary
#A4AF2A
secondary
#766FC6
accent
#43E451
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4AF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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