#A2AF55#A2AF55

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

Color values

HEX#A2AF55
RGBrgb(162, 175, 85)
HSLhsl(69, 36%, 51%)
HSVhsv(69, 51%, 69%)
CMYKcmyk(7.4%, 0%, 51.4%, 31.4%)
CIE-LABlab(68.75, -17.93, 44.13)
CIE-LCHlch(68.75, 47.63, 112.12°)
OKLaboklab(72.44% -0.0513 0.1043)
OKLCHoklch(72.44% 0.116 116.2)
XYZxyz(31.8704, 38.9976, 14.4409)
Luminance0.3900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF55 #6255AF
analogous
#AF8F55 #A2AF55 #75AF55
triadic
#A2AF55 #55A2AF #AF55A2
tetradic
#A2AF55 #55AF8F #6255AF #AF5575
square
#A2AF55 #55AF8F #6255AF #AF5575
split-complementary
#A2AF55 #5575AF #8F55AF
monochromatic
#565E2C #7D8740 #A2AF55 #B9C37F #D0D6A8

Accessibility & contrast

On white

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

On black

8.80
#A2AF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AF55
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AF55#FFFFFF#000000##000000
##A2AF551.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A74D
Deuteranopia (green-blind)
#B8A85A
Tritanopia (blue-blind)
#AAA79B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2af55;
/* rgb */ color: rgb(162, 175, 85);
/* oklch */ color: oklch(72.4% 0.116 116.2);
Tailwind
colors: {
  custom: {
    50: '#bfc687',
    500: '#a2af55',
    950: '#000000',
  },
}
SCSS
$custom: #a2af55;
$custom-light: #bfc687;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af55",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 85
  },
  "hsl": {
    "h": 68.667,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72437,
    "c": 0.11619,
    "h": 116.2
  },
  "luminance": 0.38997
}

Semantic roles & 50–950 ramp

primary
#A2AF55
secondary
#A29CC4
accent
#5CCC6C
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130B
muted
#81827C

Preview Lab

Preview with #A2AF55

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

Preview Lab → · Contrast checker → · Palette generator →

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