#A2AF53#A2AF53

#A2AF53 is a light, moderate yellow. Relative luminance 0.390; OKLCH L 72.4% C 0.118 H 116.1°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#A2AF53
RGBrgb(162, 175, 83)
HSLhsl(68, 37%, 51%)
HSVhsv(68, 53%, 69%)
CMYKcmyk(7.4%, 0%, 52.6%, 31.4%)
CIE-LABlab(68.73, -18.12, 45.07)
CIE-LCHlch(68.73, 48.57, 111.90°)
OKLaboklab(72.41% -0.052 0.1061)
OKLCHoklch(72.41% 0.118 116.1)
XYZxyz(31.7921, 38.9662, 14.0284)
Luminance0.3897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF53 #6053AF
analogous
#AF8E53 #A2AF53 #74AF53
triadic
#A2AF53 #53A2AF #AF53A2
tetradic
#A2AF53 #53AF8E #6053AF #AF5374
square
#A2AF53 #53AF8E #6053AF #AF5374
split-complementary
#A2AF53 #5374AF #8E53AF
monochromatic
#565D2B #7C863E #A2AF53 #B9C27D #CFD6A7

Accessibility & contrast

On white

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

On black

8.79
#A2AF53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AF53
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AF53#FFFFFF#000000##000000
##A2AF531.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA74A
Deuteranopia (green-blind)
#B8A858
Tritanopia (blue-blind)
#ABA69A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2af53;
/* rgb */ color: rgb(162, 175, 83);
/* oklch */ color: oklch(72.4% 0.118 116.1);
Tailwind
colors: {
  custom: {
    50: '#bfc686',
    500: '#a2af53',
    950: '#000000',
  },
}
SCSS
$custom: #a2af53;
$custom-light: #bfc686;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af53",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 83
  },
  "hsl": {
    "h": 68.478,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72412,
    "c": 0.11818,
    "h": 116.1
  },
  "luminance": 0.38966
}

Semantic roles & 50–950 ramp

primary
#A2AF53
secondary
#A09AC3
accent
#5BCD6B
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #A2AF53

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

Preview Lab → · Contrast checker → · Palette generator →

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