#A2AA38#A2AA38

#A2AA38 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.0% C 0.135 H 113.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#A2AA38
RGBrgb(162, 170, 56)
HSLhsl(64, 50%, 44%)
HSVhsv(64, 67%, 67%)
CMYKcmyk(4.7%, 0%, 67.1%, 33.3%)
CIE-LABlab(67.06, -17.64, 55.30)
CIE-LCHlch(67.06, 58.05, 107.69°)
OKLaboklab(71% -0.0534 0.1245)
OKLCHoklch(71% 0.135 113.2)
XYZxyz(29.9897, 36.7170, 9.2479)
Luminance0.3672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA38 #4038AA
analogous
#AA7938 #A2AA38 #69AA38
triadic
#A2AA38 #38A2AA #AA38A2
tetradic
#A2AA38 #38AA79 #4038AA #AA3869
square
#A2AA38 #38AA79 #4038AA #AA3869
split-complementary
#A2AA38 #3869AA #7938AA
monochromatic
#4A4E1A #767C29 #A2AA38 #C0C857 #D1D785

Accessibility & contrast

On white

2.52
#A2AA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#A2AA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AA38
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AA38#FFFFFF#000000##000000
##A2AA381.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A228
Deuteranopia (green-blind)
#B6A440
Tritanopia (blue-blind)
#ADA093
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a2aa38;
/* rgb */ color: rgb(162, 170, 56);
/* oklch */ color: oklch(71.0% 0.135 113.2);
Tailwind
colors: {
  custom: {
    50: '#c0c375',
    500: '#a2aa38',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa38;
$custom-light: #c0c375;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa38",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 64.211,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71,
    "c": 0.13546,
    "h": 113.2
  },
  "luminance": 0.36716
}

Semantic roles & 50–950 ramp

primary
#A2AA38
secondary
#827DC1
accent
#4EDA58
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A2AA38

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

Preview Lab → · Contrast checker → · Palette generator →

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