#A4AF2F#A4AF2F

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

Color values

HEX#A4AF2F
RGBrgb(164, 175, 47)
HSLhsl(65, 58%, 44%)
HSVhsv(65, 73%, 69%)
CMYKcmyk(6.3%, 0%, 73.1%, 31.4%)
CIE-LABlab(68.58, -19.81, 60.25)
CIE-LCHlch(68.58, 63.42, 108.20°)
OKLaboklab(72.23% -0.0605 0.1333)
OKLCHoklch(72.23% 0.146 114.4)
XYZxyz(31.1538, 38.7583, 8.5287)
Luminance0.3876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AF2F #3A2FAF
analogous
#AF7A2F #A4AF2F #64AF2F
triadic
#A4AF2F #2FA4AF #AF2FA4
tetradic
#A4AF2F #2FAF7A #3A2FAF #AF2F64
square
#A4AF2F #2FAF7A #3A2FAF #AF2F64
split-complementary
#A4AF2F #2F64AF #7A2FAF
monochromatic
#4A4F15 #777F22 #A4AF2F #C4CF4C #D4DC7C

Accessibility & contrast

On white

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

On black

8.75
#A4AF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AF2F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AF2F#FFFFFF#000000##000000
##A4AF2F1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA616
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#AFA596
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a4af2f;
/* rgb */ color: rgb(164, 175, 47);
/* oklch */ color: oklch(72.2% 0.146 114.4);
Tailwind
colors: {
  custom: {
    50: '#c2c671',
    500: '#a4af2f',
    950: '#000000',
  },
}
SCSS
$custom: #a4af2f;
$custom-light: #c2c671;
$custom-dark: #000000;
JSON
{
  "hex": "#a4af2f",
  "rgb": {
    "r": 164,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 65.156,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72231,
    "c": 0.1464,
    "h": 114.4
  },
  "luminance": 0.38758
}

Semantic roles & 50–950 ramp

primary
#A4AF2F
secondary
#7C75C4
accent
#47E154
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4AF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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