#A2AF37#A2AF37

#A2AF37 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.142 H 115.4°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#A2AF37
RGBrgb(162, 175, 55)
HSLhsl(67, 52%, 45%)
HSVhsv(67, 69%, 69%)
CMYKcmyk(7.4%, 0%, 68.6%, 31.4%)
CIE-LABlab(68.47, -20.23, 57.13)
CIE-LCHlch(68.47, 60.61, 109.50°)
OKLaboklab(72.13% -0.0608 0.1282)
OKLCHoklch(72.13% 0.142 115.4)
XYZxyz(30.9206, 38.6177, 9.4388)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF37 #4437AF
analogous
#AF8037 #A2AF37 #66AF37
triadic
#A2AF37 #37A2AF #AF37A2
tetradic
#A2AF37 #37AF80 #4437AF #AF3766
square
#A2AF37 #37AF80 #4437AF #AF3766
split-complementary
#A2AF37 #3766AF #8037AF
monochromatic
#4C521A #778028 #A2AF37 #BECB59 #D0D987

Accessibility & contrast

On white

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

On black

8.72
#A2AF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AF37
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AF37#FFFFFF#000000##000000
##A2AF371.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA625
Deuteranopia (green-blind)
#BAA840
Tritanopia (blue-blind)
#ACA597
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a2af37;
/* rgb */ color: rgb(162, 175, 55);
/* oklch */ color: oklch(72.1% 0.142 115.4);
Tailwind
colors: {
  custom: {
    50: '#c1c675',
    500: '#a2af37',
    950: '#000000',
  },
}
SCSS
$custom: #a2af37;
$custom-light: #c1c675;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af37",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 66.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72127,
    "c": 0.14184,
    "h": 115.4
  },
  "luminance": 0.38617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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