#A4AF34#A4AF34

#A4AF34 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.3% C 0.143 H 114.4°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#A4AF34
RGBrgb(164, 175, 52)
HSLhsl(65, 54%, 45%)
HSVhsv(65, 70%, 69%)
CMYKcmyk(6.3%, 0%, 70.3%, 31.4%)
CIE-LABlab(68.61, -19.55, 58.46)
CIE-LCHlch(68.61, 61.64, 108.49°)
OKLaboklab(72.27% -0.0593 0.1304)
OKLCHoklch(72.27% 0.143 114.4)
XYZxyz(31.2605, 38.8010, 9.0907)
Luminance0.3880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AF34 #3F34AF
analogous
#AF7D34 #A4AF34 #67AF34
triadic
#A4AF34 #34A4AF #AF34A4
tetradic
#A4AF34 #34AF7D #3F34AF #AF3467
square
#A4AF34 #34AF7D #3F34AF #AF3467
split-complementary
#A4AF34 #3467AF #7D34AF
monochromatic
#4C5118 #788026 #A4AF34 #C1CC54 #D2DA83

Accessibility & contrast

On white

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

On black

8.76
#A4AF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AF34
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AF34#FFFFFF#000000##000000
##A4AF341.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA61F
Deuteranopia (green-blind)
#BBA83D
Tritanopia (blue-blind)
#AFA597
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a4af34;
/* rgb */ color: rgb(164, 175, 52);
/* oklch */ color: oklch(72.3% 0.143 114.4);
Tailwind
colors: {
  custom: {
    50: '#c2c673',
    500: '#a4af34',
    950: '#000000',
  },
}
SCSS
$custom: #a4af34;
$custom-light: #c2c673;
$custom-dark: #000000;
JSON
{
  "hex": "#a4af34",
  "rgb": {
    "r": 164,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 65.366,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72266,
    "c": 0.14326,
    "h": 114.4
  },
  "luminance": 0.388
}

Semantic roles & 50–950 ramp

primary
#A4AF34
secondary
#827BC4
accent
#4ADE57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A4AF34

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

Preview Lab → · Contrast checker → · Palette generator →

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