#A2AF45#A2AF45

#A2AF45 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.3% C 0.131 H 115.7°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#A2AF45
RGBrgb(162, 175, 69)
HSLhsl(67, 43%, 48%)
HSVhsv(67, 61%, 69%)
CMYKcmyk(7.4%, 0%, 60.6%, 31.4%)
CIE-LABlab(68.59, -19.29, 51.40)
CIE-LCHlch(68.59, 54.90, 110.57°)
OKLaboklab(72.25% -0.0567 0.1181)
OKLCHoklch(72.25% 0.131 115.7)
XYZxyz(31.3051, 38.7714, 11.4636)
Luminance0.3877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF45 #5245AF
analogous
#AF8745 #A2AF45 #6DAF45
triadic
#A2AF45 #45A2AF #AF45A2
tetradic
#A2AF45 #45AF87 #5245AF #AF456D
square
#A2AF45 #45AF87 #5245AF #AF456D
split-complementary
#A2AF45 #456DAF #8745AF
monochromatic
#515722 #798334 #A2AF45 #BAC56C #CFD698

Accessibility & contrast

On white

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

On black

8.75
#A2AF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AF45
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AF45#FFFFFF#000000##000000
##A2AF451.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA739
Deuteranopia (green-blind)
#BAA84C
Tritanopia (blue-blind)
#ACA698
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a2af45;
/* rgb */ color: rgb(162, 175, 69);
/* oklch */ color: oklch(72.3% 0.131 115.7);
Tailwind
colors: {
  custom: {
    50: '#c0c67d',
    500: '#a2af45',
    950: '#000000',
  },
}
SCSS
$custom: #a2af45;
$custom-light: #c0c67d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af45",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 67.358,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72253,
    "c": 0.13104,
    "h": 115.7
  },
  "luminance": 0.38771
}

Semantic roles & 50–950 ramp

primary
#A2AF45
secondary
#948DC2
accent
#55D364
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2AF45

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

Preview Lab → · Contrast checker → · Palette generator →

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