#A2A148#A2A148

#A2A148 is a light, moderate yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.112 H 108.4°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#A2A148
RGBrgb(162, 161, 72)
HSLhsl(59, 38%, 46%)
HSVhsv(59, 56%, 64%)
CMYKcmyk(0%, 0.6%, 55.6%, 36.5%)
CIE-LABlab(64.68, -11.85, 45.65)
CIE-LCHlch(64.68, 47.17, 104.55°)
OKLaboklab(69.14% -0.0354 0.1062)
OKLCHoklch(69.14% 0.112 108.4)
XYZxyz(28.8156, 33.6398, 11.1048)
Luminance0.3364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A148 #4849A2
analogous
#A27448 #A2A148 #76A248
triadic
#A2A148 #48A2A1 #A148A2
tetradic
#A2A148 #48A274 #4849A2 #A24876
square
#A2A148 #48A274 #4849A2 #A24876
split-complementary
#A2A148 #4876A2 #7448A2
monochromatic
#4D4D22 #787735 #A2A148 #BDBC6A #D0CF95

Accessibility & contrast

On white

2.72
#A2A148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#A2A148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A148
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A148#FFFFFF#000000##000000
##A2A1481.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B3F
Deuteranopia (green-blind)
#AE9E4D
Tritanopia (blue-blind)
#AC988D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a148;
/* rgb */ color: rgb(162, 161, 72);
/* oklch */ color: oklch(69.1% 0.112 108.4);
Tailwind
colors: {
  custom: {
    50: '#c0bc7e',
    500: '#a2a148',
    950: '#000000',
  },
}
SCSS
$custom: #a2a148;
$custom-light: #c0bc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a148",
  "rgb": {
    "r": 162,
    "g": 161,
    "b": 72
  },
  "hsl": {
    "h": 59.333,
    "s": 38.462,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69138,
    "c": 0.11196,
    "h": 108.4
  },
  "luminance": 0.33639
}

Semantic roles & 50–950 ramp

primary
#A2A148
secondary
#8A8BBC
accent
#5BCE59
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #A2A148

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

Preview Lab → · Contrast checker → · Palette generator →

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