#A4AF2D#A4AF2D

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

Color values

HEX#A4AF2D
RGBrgb(164, 175, 45)
HSLhsl(65, 59%, 43%)
HSVhsv(65, 74%, 69%)
CMYKcmyk(6.3%, 0%, 74.3%, 31.4%)
CIE-LABlab(68.56, -19.90, 60.93)
CIE-LCHlch(68.56, 64.10, 108.09°)
OKLaboklab(72.22% -0.0609 0.1344)
OKLCHoklch(72.22% 0.148 114.4)
XYZxyz(31.1144, 38.7425, 8.3211)
Luminance0.3874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AF2D #382DAF
analogous
#AF792D #A4AF2D #63AF2D
triadic
#A4AF2D #2DA4AF #AF2DA4
tetradic
#A4AF2D #2DAF79 #382DAF #AF2D63
square
#A4AF2D #2DAF79 #382DAF #AF2D63
split-complementary
#A4AF2D #2D63AF #792DAF
monochromatic
#494E14 #767E20 #A4AF2D #C5D049 #D4DD7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4AF2D#FFFFFF#000000##000000
##A4AF2D1.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)
#BCA611
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#AFA596
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a4af2d;
/* rgb */ color: rgb(164, 175, 45);
/* oklch */ color: oklch(72.2% 0.148 114.4);
Tailwind
colors: {
  custom: {
    50: '#c2c670',
    500: '#a4af2d',
    950: '#000000',
  },
}
SCSS
$custom: #a4af2d;
$custom-light: #c2c670;
$custom-dark: #000000;
JSON
{
  "hex": "#a4af2d",
  "rgb": {
    "r": 164,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 65.077,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72218,
    "c": 0.14756,
    "h": 114.4
  },
  "luminance": 0.38742
}

Semantic roles & 50–950 ramp

primary
#A4AF2D
secondary
#7A73C5
accent
#46E253
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4AF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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