#A2AF3D#A2AF3D

#A2AF3D is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.2% C 0.137 H 115.5°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#A2AF3D
RGBrgb(162, 175, 61)
HSLhsl(67, 48%, 46%)
HSVhsv(67, 65%, 69%)
CMYKcmyk(7.4%, 0%, 65.1%, 31.4%)
CIE-LABlab(68.52, -19.86, 54.76)
CIE-LCHlch(68.52, 58.25, 109.93°)
OKLaboklab(72.18% -0.0591 0.1241)
OKLCHoklch(72.18% 0.137 115.5)
XYZxyz(31.0733, 38.6787, 10.2428)
Luminance0.3868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF3D #4A3DAF
analogous
#AF833D #A2AF3D #69AF3D
triadic
#A2AF3D #3DA2AF #AF3DA2
tetradic
#A2AF3D #3DAF83 #4A3DAF #AF3D69
square
#A2AF3D #3DAF83 #4A3DAF #AF3D69
split-complementary
#A2AF3D #3D69AF #833DAF
monochromatic
#4E541D #78822D #A2AF3D #BCC861 #CFD88F

Accessibility & contrast

On white

2.40
#A2AF3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#A2AF3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AF3D
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AF3D#FFFFFF#000000##000000
##A2AF3D1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62E
Deuteranopia (green-blind)
#BAA845
Tritanopia (blue-blind)
#ACA598
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a2af3d;
/* rgb */ color: rgb(162, 175, 61);
/* oklch */ color: oklch(72.2% 0.137 115.5);
Tailwind
colors: {
  custom: {
    50: '#c0c678',
    500: '#a2af3d',
    950: '#000000',
  },
}
SCSS
$custom: #a2af3d;
$custom-light: #c0c678;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af3d",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 66.842,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72177,
    "c": 0.13748,
    "h": 115.5
  },
  "luminance": 0.38678
}

Semantic roles & 50–950 ramp

primary
#A2AF3D
secondary
#8C85C3
accent
#50D85F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A2AF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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