#A2AF4D#A2AF4D

#A2AF4D is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.3% C 0.124 H 115.9°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#A2AF4D
RGBrgb(162, 175, 77)
HSLhsl(68, 39%, 49%)
HSVhsv(68, 56%, 69%)
CMYKcmyk(7.4%, 0%, 56%, 31.4%)
CIE-LABlab(68.66, -18.65, 47.84)
CIE-LCHlch(68.66, 51.35, 111.30°)
OKLaboklab(72.34% -0.0541 0.1115)
OKLCHoklch(72.34% 0.124 115.9)
XYZxyz(31.5704, 38.8775, 12.8607)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF4D #5A4DAF
analogous
#AF8B4D #A2AF4D #71AF4D
triadic
#A2AF4D #4DA2AF #AF4DA2
tetradic
#A2AF4D #4DAF8B #5A4DAF #AF4D71
square
#A2AF4D #4DAF8B #5A4DAF #AF4D71
split-complementary
#A2AF4D #4D71AF #8B4DAF
monochromatic
#535A28 #7B853A #A2AF4D #B9C376 #CFD6A1

Accessibility & contrast

On white

2.39
#A2AF4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#A2AF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AF4D
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AF4D#FFFFFF#000000##000000
##A2AF4D1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA743
Deuteranopia (green-blind)
#B9A853
Tritanopia (blue-blind)
#ABA699
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a2af4d;
/* rgb */ color: rgb(162, 175, 77);
/* oklch */ color: oklch(72.3% 0.124 115.9);
Tailwind
colors: {
  custom: {
    50: '#c0c682',
    500: '#a2af4d',
    950: '#000000',
  },
}
SCSS
$custom: #a2af4d;
$custom-light: #c0c682;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af4d",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 77
  },
  "hsl": {
    "h": 67.959,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72339,
    "c": 0.12392,
    "h": 115.9
  },
  "luminance": 0.38877
}

Semantic roles & 50–950 ramp

primary
#A2AF4D
secondary
#9B95C3
accent
#59CF69
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #A2AF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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