#A7AF36#A7AF36

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

Color values

HEX#A7AF36
RGBrgb(167, 175, 54)
HSLhsl(64, 53%, 45%)
HSVhsv(64, 69%, 69%)
CMYKcmyk(4.6%, 0%, 69.1%, 31.4%)
CIE-LABlab(68.85, -18.16, 58.03)
CIE-LCHlch(68.85, 60.80, 107.38°)
OKLaboklab(72.53% -0.0554 0.1297)
OKLCHoklch(72.53% 0.141 113.1)
XYZxyz(31.9331, 39.1425, 9.3624)
Luminance0.3914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AF36 #3E36AF
analogous
#AF7B36 #A7AF36 #6BAF36
triadic
#A7AF36 #36A7AF #AF36A7
tetradic
#A7AF36 #36AF7B #3E36AF #AF366B
square
#A7AF36 #36AF7B #3E36AF #AF366B
split-complementary
#A7AF36 #366BAF #7B36AF
monochromatic
#4E5119 #7A8028 #A7AF36 #C3CB57 #D4DA86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7AF36#FFFFFF#000000##000000
##A7AF361.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)
#BCA723
Deuteranopia (green-blind)
#BCA93F
Tritanopia (blue-blind)
#B2A597
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a7af36;
/* rgb */ color: rgb(167, 175, 54);
/* oklch */ color: oklch(72.5% 0.141 113.1);
Tailwind
colors: {
  custom: {
    50: '#c4c675',
    500: '#a7af36',
    950: '#000000',
  },
}
SCSS
$custom: #a7af36;
$custom-light: #c4c675;
$custom-dark: #000000;
JSON
{
  "hex": "#a7af36",
  "rgb": {
    "r": 167,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 63.967,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72526,
    "c": 0.14107,
    "h": 113.1
  },
  "luminance": 0.39142
}

Semantic roles & 50–950 ramp

primary
#A7AF36
secondary
#827DC3
accent
#4CDC55
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7AF36

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

Preview Lab → · Contrast checker → · Palette generator →

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