#A2AF35#A2AF35

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

Color values

HEX#A2AF35
RGBrgb(162, 175, 53)
HSLhsl(66, 54%, 45%)
HSVhsv(66, 70%, 69%)
CMYKcmyk(7.4%, 0%, 69.7%, 31.4%)
CIE-LABlab(68.46, -20.34, 57.89)
CIE-LCHlch(68.46, 61.36, 109.36°)
OKLaboklab(72.11% -0.0613 0.1294)
OKLCHoklch(72.11% 0.143 115.3)
XYZxyz(30.8737, 38.5989, 9.1914)
Luminance0.3860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF35 #4235AF
analogous
#AF7F35 #A2AF35 #65AF35
triadic
#A2AF35 #35A2AF #AF35A2
tetradic
#A2AF35 #35AF7F #4235AF #AF3565
square
#A2AF35 #35AF7F #4235AF #AF3565
split-complementary
#A2AF35 #3565AF #7F35AF
monochromatic
#4B5119 #778027 #A2AF35 #BFCC56 #D1DA85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AF35#FFFFFF#000000##000000
##A2AF351.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)
#BBA621
Deuteranopia (green-blind)
#BAA83E
Tritanopia (blue-blind)
#ACA597
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a2af35;
/* rgb */ color: rgb(162, 175, 53);
/* oklch */ color: oklch(72.1% 0.143 115.3);
Tailwind
colors: {
  custom: {
    50: '#c1c674',
    500: '#a2af35',
    950: '#000000',
  },
}
SCSS
$custom: #a2af35;
$custom-light: #c1c674;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af35",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 66.393,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72112,
    "c": 0.1432,
    "h": 115.3
  },
  "luminance": 0.38598
}

Semantic roles & 50–950 ramp

primary
#A2AF35
secondary
#847CC4
accent
#4BDD5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2AF35

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

Preview Lab → · Contrast checker → · Palette generator →

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