#A2AF43#A2AF43

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

Color values

HEX#A2AF43
RGBrgb(162, 175, 67)
HSLhsl(67, 45%, 47%)
HSVhsv(67, 62%, 69%)
CMYKcmyk(7.4%, 0%, 61.7%, 31.4%)
CIE-LABlab(68.57, -19.44, 52.26)
CIE-LCHlch(68.57, 55.76, 110.41°)
OKLaboklab(72.23% -0.0573 0.1197)
OKLCHoklch(72.23% 0.133 115.6)
XYZxyz(31.2440, 38.7470, 11.1421)
Luminance0.3875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF43 #5043AF
analogous
#AF8643 #A2AF43 #6CAF43
triadic
#A2AF43 #43A2AF #AF43A2
tetradic
#A2AF43 #43AF86 #5043AF #AF436C
square
#A2AF43 #43AF86 #5043AF #AF436C
split-complementary
#A2AF43 #436CAF #8643AF
monochromatic
#505621 #798332 #A2AF43 #BBC669 #CFD796

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AF43#FFFFFF#000000##000000
##A2AF431.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)
#BBA736
Deuteranopia (green-blind)
#BAA84A
Tritanopia (blue-blind)
#ACA698
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a2af43;
/* rgb */ color: rgb(162, 175, 67);
/* oklch */ color: oklch(72.2% 0.133 115.6);
Tailwind
colors: {
  custom: {
    50: '#c0c67c',
    500: '#a2af43',
    950: '#000000',
  },
}
SCSS
$custom: #a2af43;
$custom-light: #c0c67c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af43",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 67
  },
  "hsl": {
    "h": 67.222,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72233,
    "c": 0.13271,
    "h": 115.6
  },
  "luminance": 0.38747
}

Semantic roles & 50–950 ramp

primary
#A2AF43
secondary
#928BC2
accent
#53D463
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2AF43

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

Preview Lab → · Contrast checker → · Palette generator →

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