#A7AF3D#A7AF3D

#A7AF3D is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.6% C 0.136 H 113.2°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#A7AF3D
RGBrgb(167, 175, 61)
HSLhsl(64, 48%, 46%)
HSVhsv(64, 65%, 69%)
CMYKcmyk(4.6%, 0%, 65.1%, 31.4%)
CIE-LABlab(68.91, -17.74, 55.28)
CIE-LCHlch(68.91, 58.06, 107.79°)
OKLaboklab(72.58% -0.0535 0.1251)
OKLCHoklch(72.58% 0.136 113.2)
XYZxyz(32.1095, 39.2130, 10.2914)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AF3D #453DAF
analogous
#AF7E3D #A7AF3D #6EAF3D
triadic
#A7AF3D #3DA7AF #AF3DA7
tetradic
#A7AF3D #3DAF7E #453DAF #AF3D6E
square
#A7AF3D #3DAF7E #453DAF #AF3D6E
split-complementary
#A7AF3D #3D6EAF #7E3DAF
monochromatic
#50541D #7C822D #A7AF3D #C1C861 #D3D88F

Accessibility & contrast

On white

2.37
#A7AF3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#A7AF3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AF3D
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AF3D#FFFFFF#000000##000000
##A7AF3D1.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72E
Deuteranopia (green-blind)
#BCA945
Tritanopia (blue-blind)
#B2A598
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a7af3d;
/* rgb */ color: rgb(167, 175, 61);
/* oklch */ color: oklch(72.6% 0.136 113.2);
Tailwind
colors: {
  custom: {
    50: '#c4c678',
    500: '#a7af3d',
    950: '#000000',
  },
}
SCSS
$custom: #a7af3d;
$custom-light: #c4c678;
$custom-dark: #000000;
JSON
{
  "hex": "#a7af3d",
  "rgb": {
    "r": 167,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 64.211,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72583,
    "c": 0.13605,
    "h": 113.2
  },
  "luminance": 0.39212
}

Semantic roles & 50–950 ramp

primary
#A7AF3D
secondary
#8985C3
accent
#50D859
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A7AF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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