#A2AF34#A2AF34

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

Color values

HEX#A2AF34
RGBrgb(162, 175, 52)
HSLhsl(66, 54%, 45%)
HSVhsv(66, 70%, 69%)
CMYKcmyk(7.4%, 0%, 70.3%, 31.4%)
CIE-LABlab(68.45, -20.40, 58.26)
CIE-LCHlch(68.45, 61.73, 109.30°)
OKLaboklab(72.1% -0.0615 0.13)
OKLCHoklch(72.1% 0.144 115.3)
XYZxyz(30.8509, 38.5898, 9.0715)
Luminance0.3859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF34 #4134AF
analogous
#AF7E34 #A2AF34 #65AF34
triadic
#A2AF34 #34A2AF #AF34A2
tetradic
#A2AF34 #34AF7E #4134AF #AF3465
square
#A2AF34 #34AF7E #4134AF #AF3465
split-complementary
#A2AF34 #3465AF #7E34AF
monochromatic
#4B5118 #768026 #A2AF34 #BFCC54 #D1DA83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AF34#FFFFFF#000000##000000
##A2AF341.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)
#BBA620
Deuteranopia (green-blind)
#BAA83D
Tritanopia (blue-blind)
#ACA597
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a2af34;
/* rgb */ color: rgb(162, 175, 52);
/* oklch */ color: oklch(72.1% 0.144 115.3);
Tailwind
colors: {
  custom: {
    50: '#c1c673',
    500: '#a2af34',
    950: '#000000',
  },
}
SCSS
$custom: #a2af34;
$custom-light: #c1c673;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af34",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 66.341,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72104,
    "c": 0.14387,
    "h": 115.3
  },
  "luminance": 0.38589
}

Semantic roles & 50–950 ramp

primary
#A2AF34
secondary
#837BC4
accent
#4ADE5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2AF34

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

Preview Lab → · Contrast checker → · Palette generator →

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