#A2AF3C#A2AF3C

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

Color values

HEX#A2AF3C
RGBrgb(162, 175, 60)
HSLhsl(67, 49%, 46%)
HSVhsv(67, 66%, 69%)
CMYKcmyk(7.4%, 0%, 65.7%, 31.4%)
CIE-LABlab(68.51, -19.92, 55.17)
CIE-LCHlch(68.51, 58.65, 109.86°)
OKLaboklab(72.17% -0.0594 0.1248)
OKLCHoklch(72.17% 0.138 115.5)
XYZxyz(31.0466, 38.6680, 10.1023)
Luminance0.3867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF3C #493CAF
analogous
#AF823C #A2AF3C #68AF3C
triadic
#A2AF3C #3CA2AF #AF3CA2
tetradic
#A2AF3C #3CAF82 #493CAF #AF3C68
square
#A2AF3C #3CAF82 #493CAF #AF3C68
split-complementary
#A2AF3C #3C68AF #823CAF
monochromatic
#4E541D #78812C #A2AF3C #BDC860 #D0D88D

Accessibility & contrast

On white

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

On black

8.73
#A2AF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AF3C
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AF3C#FFFFFF#000000##000000
##A2AF3C1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2af3c;
/* rgb */ color: rgb(162, 175, 60);
/* oklch */ color: oklch(72.2% 0.138 115.5);
Tailwind
colors: {
  custom: {
    50: '#c0c678',
    500: '#a2af3c',
    950: '#000000',
  },
}
SCSS
$custom: #a2af3c;
$custom-light: #c0c678;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af3c",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 66.783,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72168,
    "c": 0.13823,
    "h": 115.5
  },
  "luminance": 0.38668
}

Semantic roles & 50–950 ramp

primary
#A2AF3C
secondary
#8B84C3
accent
#4FD85F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A2AF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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