#A4AF25#A4AF25

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

Color values

HEX#A4AF25
RGBrgb(164, 175, 37)
HSLhsl(65, 65%, 42%)
HSVhsv(65, 79%, 69%)
CMYKcmyk(6.3%, 0%, 78.9%, 31.4%)
CIE-LABlab(68.52, -20.25, 63.44)
CIE-LCHlch(68.52, 66.59, 107.70°)
OKLaboklab(72.17% -0.0625 0.1383)
OKLCHoklch(72.17% 0.152 114.3)
XYZxyz(30.9747, 38.6866, 7.5855)
Luminance0.3869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AF25 #3025AF
analogous
#AF7525 #A4AF25 #5FAF25
triadic
#A4AF25 #25A4AF #AF25A4
tetradic
#A4AF25 #25AF75 #3025AF #AF255F
square
#A4AF25 #25AF75 #3025AF #AF255F
split-complementary
#A4AF25 #255FAF #7525AF
monochromatic
#454A10 #757C1A #A4AF25 #C9D63C #D7E06E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4AF25#FFFFFF#000000##000000
##A4AF251.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)
#BCA600
Deuteranopia (green-blind)
#BCA832
Tritanopia (blue-blind)
#AFA496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a4af25;
/* rgb */ color: rgb(164, 175, 37);
/* oklch */ color: oklch(72.2% 0.152 114.3);
Tailwind
colors: {
  custom: {
    50: '#c3c66c',
    500: '#a4af25',
    950: '#000000',
  },
}
SCSS
$custom: #a4af25;
$custom-light: #c3c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a4af25",
  "rgb": {
    "r": 164,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 64.783,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72173,
    "c": 0.15178,
    "h": 114.3
  },
  "luminance": 0.38686
}

Semantic roles & 50–950 ramp

primary
#A4AF25
secondary
#7069C7
accent
#40E84D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A4AF25

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

Preview Lab → · Contrast checker → · Palette generator →

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