#A7AF35#A7AF35

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

Color values

HEX#A7AF35
RGBrgb(167, 175, 53)
HSLhsl(64, 54%, 45%)
HSVhsv(64, 70%, 69%)
CMYKcmyk(4.6%, 0%, 69.7%, 31.4%)
CIE-LABlab(68.85, -18.21, 58.40)
CIE-LCHlch(68.85, 61.17, 107.32°)
OKLaboklab(72.52% -0.0556 0.1304)
OKLCHoklch(72.52% 0.142 113.1)
XYZxyz(31.9099, 39.1332, 9.2400)
Luminance0.3913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AF35 #3D35AF
analogous
#AF7A35 #A7AF35 #6AAF35
triadic
#A7AF35 #35A7AF #AF35A7
tetradic
#A7AF35 #35AF7A #3D35AF #AF356A
square
#A7AF35 #35AF7A #3D35AF #AF356A
split-complementary
#A7AF35 #356AAF #7A35AF
monochromatic
#4D5119 #7A8027 #A7AF35 #C4CC56 #D4DA85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7AF35#FFFFFF#000000##000000
##A7AF351.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)
#BCA721
Deuteranopia (green-blind)
#BCA93E
Tritanopia (blue-blind)
#B2A597
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a7af35;
/* rgb */ color: rgb(167, 175, 53);
/* oklch */ color: oklch(72.5% 0.142 113.1);
Tailwind
colors: {
  custom: {
    50: '#c4c674',
    500: '#a7af35',
    950: '#000000',
  },
}
SCSS
$custom: #a7af35;
$custom-light: #c4c674;
$custom-dark: #000000;
JSON
{
  "hex": "#a7af35",
  "rgb": {
    "r": 167,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 63.934,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72519,
    "c": 0.14174,
    "h": 113.1
  },
  "luminance": 0.39132
}

Semantic roles & 50–950 ramp

primary
#A7AF35
secondary
#817CC4
accent
#4BDD54
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7AF35

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

Preview Lab → · Contrast checker → · Palette generator →

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