#A7AF37#A7AF37

#A7AF37 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.5% C 0.140 H 113.1°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#A7AF37
RGBrgb(167, 175, 55)
HSLhsl(64, 52%, 45%)
HSVhsv(64, 69%, 69%)
CMYKcmyk(4.6%, 0%, 68.6%, 31.4%)
CIE-LABlab(68.86, -18.10, 57.65)
CIE-LCHlch(68.86, 60.42, 107.43°)
OKLaboklab(72.53% -0.0551 0.1291)
OKLCHoklch(72.53% 0.14 113.1)
XYZxyz(31.9568, 39.1519, 9.4873)
Luminance0.3915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AF37 #3F37AF
analogous
#AF7B37 #A7AF37 #6BAF37
triadic
#A7AF37 #37A7AF #AF37A7
tetradic
#A7AF37 #37AF7B #3F37AF #AF376B
square
#A7AF37 #37AF7B #3F37AF #AF376B
split-complementary
#A7AF37 #376BAF #7B37AF
monochromatic
#4E521A #7B8028 #A7AF37 #C3CB59 #D4D987

Accessibility & contrast

On white

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

On black

8.83
#A7AF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AF37
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AF37#FFFFFF#000000##000000
##A7AF371.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA724
Deuteranopia (green-blind)
#BCA940
Tritanopia (blue-blind)
#B2A597
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a7af37;
/* rgb */ color: rgb(167, 175, 55);
/* oklch */ color: oklch(72.5% 0.140 113.1);
Tailwind
colors: {
  custom: {
    50: '#c4c675',
    500: '#a7af37',
    950: '#000000',
  },
}
SCSS
$custom: #a7af37;
$custom-light: #c4c675;
$custom-dark: #000000;
JSON
{
  "hex": "#a7af37",
  "rgb": {
    "r": 167,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 64,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72534,
    "c": 0.14039,
    "h": 113.1
  },
  "luminance": 0.39151
}

Semantic roles & 50–950 ramp

primary
#A7AF37
secondary
#837FC3
accent
#4CDC56
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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