#A2B545#A2B545

#A2B545 is a light, vivid yellow-green. Relative luminance 0.412; OKLCH L 73.6% C 0.138 H 118.1°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#A2B545
RGBrgb(162, 181, 69)
HSLhsl(70, 45%, 49%)
HSVhsv(70, 62%, 71%)
CMYKcmyk(10.5%, 0%, 61.9%, 29%)
CIE-LABlab(70.29, -22.29, 53.25)
CIE-LCHlch(70.29, 57.73, 112.72°)
OKLaboklab(73.62% -0.0651 0.1221)
OKLCHoklch(73.62% 0.138 118.1)
XYZxyz(32.4989, 41.1591, 11.8615)
Luminance0.4116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B545 #5845B5
analogous
#B59045 #A2B545 #6AB545
triadic
#A2B545 #45A2B5 #B545A2
tetradic
#A2B545 #45B590 #5845B5 #B5456A
square
#A2B545 #45B590 #5845B5 #B5456A
split-complementary
#A2B545 #456AB5 #9045B5
monochromatic
#535C23 #7A8934 #A2B545 #B9C86F #CFD99B

Accessibility & contrast

On white

2.27
#A2B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#A2B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B545
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B545#FFFFFF#000000##000000
##A2B5451.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC38
Deuteranopia (green-blind)
#BEAC4C
Tritanopia (blue-blind)
#ABAC9D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a2b545;
/* rgb */ color: rgb(162, 181, 69);
/* oklch */ color: oklch(73.6% 0.138 118.1);
Tailwind
colors: {
  custom: {
    50: '#c0cb7e',
    500: '#a2b545',
    950: '#000000',
  },
}
SCSS
$custom: #a2b545;
$custom-light: #c0cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b545",
  "rgb": {
    "r": 162,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 70.179,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73618,
    "c": 0.13835,
    "h": 118.1
  },
  "luminance": 0.41159
}

Semantic roles & 50–950 ramp

primary
#A2B545
secondary
#9991C5
accent
#53D569
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B545

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

Preview Lab → · Contrast checker → · Palette generator →

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