#A7AF29#A7AF29

#A7AF29 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.4% C 0.149 H 113.1°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#A7AF29
RGBrgb(167, 175, 41)
HSLhsl(64, 62%, 42%)
HSVhsv(64, 77%, 69%)
CMYKcmyk(4.6%, 0%, 76.6%, 31.4%)
CIE-LABlab(68.78, -18.79, 62.53)
CIE-LCHlch(68.78, 65.29, 106.73°)
OKLaboklab(72.44% -0.0583 0.137)
OKLCHoklch(72.44% 0.149 113.1)
XYZxyz(31.6676, 39.0362, 7.9640)
Luminance0.3904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AF29 #3129AF
analogous
#AF7429 #A7AF29 #64AF29
triadic
#A7AF29 #29A7AF #AF29A7
tetradic
#A7AF29 #29AF74 #3129AF #AF2964
square
#A7AF29 #29AF74 #3129AF #AF2964
split-complementary
#A7AF29 #2964AF #7429AF
monochromatic
#484C12 #787D1D #A7AF29 #CAD342 #D8DE74

Accessibility & contrast

On white

2.38
#A7AF29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#A7AF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AF29
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AF29#FFFFFF#000000##000000
##A7AF291.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA604
Deuteranopia (green-blind)
#BCA935
Tritanopia (blue-blind)
#B3A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a7af29;
/* rgb */ color: rgb(167, 175, 41);
/* oklch */ color: oklch(72.4% 0.149 113.1);
Tailwind
colors: {
  custom: {
    50: '#c5c66e',
    500: '#a7af29',
    950: '#000000',
  },
}
SCSS
$custom: #a7af29;
$custom-light: #c5c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7af29",
  "rgb": {
    "r": 167,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 63.582,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.7244,
    "c": 0.14888,
    "h": 113.1
  },
  "luminance": 0.39036
}

Semantic roles & 50–950 ramp

primary
#A7AF29
secondary
#736EC6
accent
#43E54C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7AF29

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

Preview Lab → · Contrast checker → · Palette generator →

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