#A2B155#A2B155

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

Color values

HEX#A2B155
RGBrgb(162, 177, 85)
HSLhsl(70, 37%, 51%)
HSVhsv(70, 52%, 69%)
CMYKcmyk(8.5%, 0%, 52%, 30.6%)
CIE-LABlab(69.31, -18.95, 44.79)
CIE-LCHlch(69.31, 48.63, 112.93°)
OKLaboklab(72.89% -0.0541 0.1057)
OKLCHoklch(72.89% 0.119 117.1)
XYZxyz(32.2625, 39.7818, 14.5716)
Luminance0.3978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B155 #6455B1
analogous
#B19255 #A2B155 #74B155
triadic
#A2B155 #55A2B1 #B155A2
tetradic
#A2B155 #55B192 #6455B1 #B15574
square
#A2B155 #55B192 #6455B1 #B15574
split-complementary
#A2B155 #5574B1 #9255B1
monochromatic
#57602C #7E8A3F #A2B155 #B9C47F #D0D7A9

Accessibility & contrast

On white

2.34
#A2B155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#A2B155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B155
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B155#FFFFFF#000000##000000
##A2B1551.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA94C
Deuteranopia (green-blind)
#BAAA5A
Tritanopia (blue-blind)
#AAA99C
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b155;
/* rgb */ color: rgb(162, 177, 85);
/* oklch */ color: oklch(72.9% 0.119 117.1);
Tailwind
colors: {
  custom: {
    50: '#bfc887',
    500: '#a2b155',
    950: '#000000',
  },
}
SCSS
$custom: #a2b155;
$custom-light: #bfc887;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b155",
  "rgb": {
    "r": 162,
    "g": 177,
    "b": 85
  },
  "hsl": {
    "h": 69.783,
    "s": 37.097,
    "l": 51.373
  },
  "oklch": {
    "l": 0.72889,
    "c": 0.11877,
    "h": 117.1
  },
  "luminance": 0.39782
}

Semantic roles & 50–950 ramp

primary
#A2B155
secondary
#A39DC5
accent
#5BCD6D
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130B
muted
#81827C

Preview Lab

Preview with #A2B155

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

Preview Lab → · Contrast checker → · Palette generator →

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