#A2B154#A2B154

#A2B154 is a light, moderate yellow. Relative luminance 0.398; OKLCH L 72.9% C 0.120 H 117.1°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#A2B154
RGBrgb(162, 177, 84)
HSLhsl(70, 37%, 51%)
HSVhsv(70, 53%, 69%)
CMYKcmyk(8.5%, 0%, 52.5%, 30.6%)
CIE-LABlab(69.30, -19.04, 45.26)
CIE-LCHlch(69.30, 49.10, 112.82°)
OKLaboklab(72.88% -0.0545 0.1066)
OKLCHoklch(72.88% 0.12 117.1)
XYZxyz(32.2231, 39.7661, 14.3639)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B154 #6354B1
analogous
#B19154 #A2B154 #73B154
triadic
#A2B154 #54A2B1 #B154A2
tetradic
#A2B154 #54B191 #6354B1 #B15473
square
#A2B154 #54B191 #6354B1 #B15473
split-complementary
#A2B154 #5473B1 #9154B1
monochromatic
#575F2B #7D893F #A2B154 #B9C47E #D0D7A8

Accessibility & contrast

On white

2.35
#A2B154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#A2B154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B154
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B154#FFFFFF#000000##000000
##A2B1541.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA94B
Deuteranopia (green-blind)
#BAAA59
Tritanopia (blue-blind)
#AAA89C
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b154;
/* rgb */ color: rgb(162, 177, 84);
/* oklch */ color: oklch(72.9% 0.120 117.1);
Tailwind
colors: {
  custom: {
    50: '#bfc887',
    500: '#a2b154',
    950: '#000000',
  },
}
SCSS
$custom: #a2b154;
$custom-light: #bfc887;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b154",
  "rgb": {
    "r": 162,
    "g": 177,
    "b": 84
  },
  "hsl": {
    "h": 69.677,
    "s": 37.349,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72876,
    "c": 0.11975,
    "h": 117.1
  },
  "luminance": 0.39766
}

Semantic roles & 50–950 ramp

primary
#A2B154
secondary
#A29CC5
accent
#5ACD6D
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#12130B
muted
#81827C

Preview Lab

Preview with #A2B154

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

Preview Lab → · Contrast checker → · Palette generator →

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