#A2B45F#A2B45F

#A2B45F is a light, moderate yellow-green. Relative luminance 0.411; OKLCH L 73.7% C 0.112 H 119.1°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#A2B45F
RGBrgb(162, 180, 95)
HSLhsl(73, 36%, 54%)
HSVhsv(73, 47%, 71%)
CMYKcmyk(10%, 0%, 47.2%, 29.4%)
CIE-LABlab(70.28, -19.46, 41.04)
CIE-LCHlch(70.28, 45.42, 115.37°)
OKLaboklab(73.7% -0.0547 0.0983)
OKLCHoklch(73.7% 0.112 119.1)
XYZxyz(33.2873, 41.1503, 17.0134)
Luminance0.4115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B45F #715FB4
analogous
#B49C5F #A2B45F #78B45F
triadic
#A2B45F #5FA2B4 #B45FA2
tetradic
#A2B45F #5FB49C #715FB4 #B45F78
square
#A2B45F #5FB49C #715FB4 #B45F78
split-complementary
#A2B45F #5F78B4 #9C5FB4
monochromatic
#5C6831 #819244 #A2B45F #BAC889 #D2DBB2

Accessibility & contrast

On white

2.28
#A2B45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B45F#FFFFFF#000000##000000
##A2B45F1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAC58
Deuteranopia (green-blind)
#BBAC64
Tritanopia (blue-blind)
#A9ACA0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a2b45f;
/* rgb */ color: rgb(162, 180, 95);
/* oklch */ color: oklch(73.7% 0.112 119.1);
Tailwind
colors: {
  custom: {
    50: '#bfca8e',
    500: '#a2b45f',
    950: '#000000',
  },
}
SCSS
$custom: #a2b45f;
$custom-light: #bfca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b45f",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 72.706,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.73702,
    "c": 0.11247,
    "h": 119.1
  },
  "luminance": 0.4115
}

Semantic roles & 50–950 ramp

primary
#A2B45F
secondary
#ADA5CA
accent
#5CCC73
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #A2B45F

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

Preview Lab → · Contrast checker → · Palette generator →

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