#A2B838#A2B838

#A2B838 is a light, vivid yellow-green. Relative luminance 0.422; OKLCH L 74.2% C 0.152 H 118.7°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#A2B838
RGBrgb(162, 184, 56)
HSLhsl(70, 53%, 47%)
HSVhsv(70, 70%, 72%)
CMYKcmyk(12%, 0%, 69.6%, 27.8%)
CIE-LABlab(71.04, -24.63, 59.33)
CIE-LCHlch(71.04, 64.24, 112.54°)
OKLaboklab(74.19% -0.0729 0.1329)
OKLCHoklch(74.19% 0.152 118.7)
XYZxyz(32.7552, 42.2481, 10.1698)
Luminance0.4225 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B838 #4E38B8
analogous
#B88E38 #A2B838 #62B838
triadic
#A2B838 #38A2B8 #B838A2
tetradic
#A2B838 #38B88E #4E38B8 #B83862
square
#A2B838 #38B88E #4E38B8 #B83862
split-complementary
#A2B838 #3862B8 #8E38B8
monochromatic
#4F5A1B #79892A #A2B838 #BBCE5F #CFDD8E

Accessibility & contrast

On white

2.22
#A2B838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#A2B838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B838
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B838#FFFFFF#000000##000000
##A2B8381.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE23
Deuteranopia (green-blind)
#C1AE42
Tritanopia (blue-blind)
#ABAE9F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a2b838;
/* rgb */ color: rgb(162, 184, 56);
/* oklch */ color: oklch(74.2% 0.152 118.7);
Tailwind
colors: {
  custom: {
    50: '#c1cd76',
    500: '#a2b838',
    950: '#000000',
  },
}
SCSS
$custom: #a2b838;
$custom-light: #c1cd76;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b838",
  "rgb": {
    "r": 162,
    "g": 184,
    "b": 56
  },
  "hsl": {
    "h": 70.313,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74192,
    "c": 0.15162,
    "h": 118.7
  },
  "luminance": 0.42248
}

Semantic roles & 50–950 ramp

primary
#A2B838
secondary
#9085C7
accent
#4BDD64
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B838

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

Preview Lab → · Contrast checker → · Palette generator →

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