#A1AF36#A1AF36

#A1AF36 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.0% C 0.143 H 115.8°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#A1AF36
RGBrgb(161, 175, 54)
HSLhsl(67, 53%, 45%)
HSVhsv(67, 69%, 69%)
CMYKcmyk(8%, 0%, 69.1%, 31.4%)
CIE-LABlab(68.39, -20.71, 57.41)
CIE-LCHlch(68.39, 61.03, 109.84°)
OKLaboklab(72.04% -0.0622 0.1286)
OKLCHoklch(72.04% 0.143 115.8)
XYZxyz(30.6945, 38.5038, 9.3043)
Luminance0.3850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AF36 #4436AF
analogous
#AF8036 #A1AF36 #65AF36
triadic
#A1AF36 #36A1AF #AF36A1
tetradic
#A1AF36 #36AF80 #4436AF #AF3665
square
#A1AF36 #36AF80 #4436AF #AF3665
split-complementary
#A1AF36 #3665AF #8036AF
monochromatic
#4B5119 #768028 #A1AF36 #BECB57 #D0DA86

Accessibility & contrast

On white

2.41
#A1AF36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#A1AF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AF36
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AF36#FFFFFF#000000##000000
##A1AF361.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA623
Deuteranopia (green-blind)
#BAA83F
Tritanopia (blue-blind)
#ABA597
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a1af36;
/* rgb */ color: rgb(161, 175, 54);
/* oklch */ color: oklch(72.0% 0.143 115.8);
Tailwind
colors: {
  custom: {
    50: '#c0c674',
    500: '#a1af36',
    950: '#000000',
  },
}
SCSS
$custom: #a1af36;
$custom-light: #c0c674;
$custom-dark: #000000;
JSON
{
  "hex": "#a1af36",
  "rgb": {
    "r": 161,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 66.942,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72039,
    "c": 0.14284,
    "h": 115.8
  },
  "luminance": 0.38503
}

Semantic roles & 50–950 ramp

primary
#A1AF36
secondary
#867DC3
accent
#4CDC5C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A1AF36

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

Preview Lab → · Contrast checker → · Palette generator →

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