#A2AF39#A2AF39

#A2AF39 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.140 H 115.4°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#A2AF39
RGBrgb(162, 175, 57)
HSLhsl(67, 51%, 45%)
HSVhsv(67, 67%, 69%)
CMYKcmyk(7.4%, 0%, 67.4%, 31.4%)
CIE-LABlab(68.49, -20.11, 56.36)
CIE-LCHlch(68.49, 59.84, 109.64°)
OKLaboklab(72.14% -0.0602 0.1269)
OKLCHoklch(72.14% 0.14 115.4)
XYZxyz(30.9695, 38.6372, 9.6964)
Luminance0.3864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF39 #4639AF
analogous
#AF8139 #A2AF39 #67AF39
triadic
#A2AF39 #39A2AF #AF39A2
tetradic
#A2AF39 #39AF81 #4639AF #AF3967
square
#A2AF39 #39AF81 #4639AF #AF3967
split-complementary
#A2AF39 #3967AF #8139AF
monochromatic
#4D531B #77812A #A2AF39 #BECA5B #D0D98A

Accessibility & contrast

On white

2.41
#A2AF39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AF39#FFFFFF#000000##000000
##A2AF391.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA628
Deuteranopia (green-blind)
#BAA842
Tritanopia (blue-blind)
#ACA597
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a2af39;
/* rgb */ color: rgb(162, 175, 57);
/* oklch */ color: oklch(72.1% 0.140 115.4);
Tailwind
colors: {
  custom: {
    50: '#c0c676',
    500: '#a2af39',
    950: '#000000',
  },
}
SCSS
$custom: #a2af39;
$custom-light: #c0c676;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af39",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 66.61,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72143,
    "c": 0.14043,
    "h": 115.4
  },
  "luminance": 0.38637
}

Semantic roles & 50–950 ramp

primary
#A2AF39
secondary
#8881C3
accent
#4DDA5D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2AF39

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

Preview Lab → · Contrast checker → · Palette generator →

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