#A2AF3E#A2AF3E

#A2AF3E 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#A2AF3E
RGBrgb(162, 175, 62)
HSLhsl(67, 48%, 46%)
HSVhsv(67, 65%, 69%)
CMYKcmyk(7.4%, 0%, 64.6%, 31.4%)
CIE-LABlab(68.53, -19.79, 54.35)
CIE-LCHlch(68.53, 57.84, 110.01°)
OKLaboklab(72.19% -0.0588 0.1234)
OKLCHoklch(72.19% 0.137 115.5)
XYZxyz(31.1005, 38.6896, 10.3860)
Luminance0.3869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF3E #4B3EAF
analogous
#AF843E #A2AF3E #6AAF3E
triadic
#A2AF3E #3EA2AF #AF3EA2
tetradic
#A2AF3E #3EAF84 #4B3EAF #AF3E6A
square
#A2AF3E #3EAF84 #4B3EAF #AF3E6A
split-complementary
#A2AF3E #3E6AAF #843EAF
monochromatic
#4E551E #78822E #A2AF3E #BCC863 #CFD890

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AF3E#FFFFFF#000000##000000
##A2AF3E1.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)
#BBA62F
Deuteranopia (green-blind)
#BAA846
Tritanopia (blue-blind)
#ACA598
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a2af3e;
/* rgb */ color: rgb(162, 175, 62);
/* oklch */ color: oklch(72.2% 0.137 115.5);
Tailwind
colors: {
  custom: {
    50: '#c0c679',
    500: '#a2af3e',
    950: '#000000',
  },
}
SCSS
$custom: #a2af3e;
$custom-light: #c0c679;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af3e",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 66.903,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72186,
    "c": 0.13671,
    "h": 115.5
  },
  "luminance": 0.38689
}

Semantic roles & 50–950 ramp

primary
#A2AF3E
secondary
#8D86C3
accent
#51D760
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A2AF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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