#A2B298#A2B298

#A2B298 is a light, muted yellow-green. Relative luminance 0.418; OKLCH L 74.4% C 0.041 H 133.3°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#A2B298
RGBrgb(162, 178, 152)
HSLhsl(97, 14%, 65%)
HSVhsv(97, 15%, 70%)
CMYKcmyk(9%, 0%, 14.6%, 30.2%)
CIE-LABlab(70.73, -10.43, 11.43)
CIE-LCHlch(70.73, 15.47, 132.37°)
OKLaboklab(74.39% -0.0279 0.0296)
OKLCHoklch(74.39% 0.041 133.3)
XYZxyz(36.4872, 41.7889, 35.8435)
Luminance0.4179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B298 #A898B2
analogous
#AFB298 #A2B298 #98B29B
triadic
#A2B298 #98A2B2 #B298A2
tetradic
#A2B298 #98AFB2 #A898B2 #B29B98
square
#A2B298 #98AFB2 #A898B2 #B29B98
split-complementary
#A2B298 #9B98B2 #B298AF
monochromatic
#647759 #829875 #A2B298 #C2CCBB #E1E6DE

Accessibility & contrast

On white

2.24
#A2B298 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#A2B298 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B298
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B298#FFFFFF#000000##000000
##A2B2981.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5AE97
Deuteranopia (green-blind)
#B2AD99
Tritanopia (blue-blind)
#A2B0AB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a2b298;
/* rgb */ color: rgb(162, 178, 152);
/* oklch */ color: oklch(74.4% 0.041 133.3);
Tailwind
colors: {
  custom: {
    50: '#bdc9b6',
    500: '#a2b298',
    950: '#000000',
  },
}
SCSS
$custom: #a2b298;
$custom-light: #bdc9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b298",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 152
  },
  "hsl": {
    "h": 96.923,
    "s": 14.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.74385,
    "c": 0.04065,
    "h": 133.3
  },
  "luminance": 0.41789
}

Semantic roles & 50–950 ramp

primary
#A2B298
secondary
#D4CED7
accent
#4D997B
background
#FBFCFB
surface
#F6F8F6
border
#D0D1D0
text
#121311
muted
#818280

Preview Lab

Preview with #A2B298

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

Preview Lab → · Contrast checker → · Palette generator →

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