#A2B938#A2B938

#A2B938 is a light, vivid yellow-green. Relative luminance 0.427; OKLCH L 74.4% C 0.153 H 119.1°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#A2B938
RGBrgb(162, 185, 56)
HSLhsl(71, 54%, 47%)
HSVhsv(71, 70%, 73%)
CMYKcmyk(12.4%, 0%, 69.7%, 27.5%)
CIE-LABlab(71.33, -25.12, 59.61)
CIE-LCHlch(71.33, 64.69, 112.85°)
OKLaboklab(74.42% -0.0743 0.1336)
OKLCHoklch(74.42% 0.153 119.1)
XYZxyz(32.9637, 42.6650, 10.2392)
Luminance0.4266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B938 #4F38B9
analogous
#B99038 #A2B938 #61B938
triadic
#A2B938 #38A2B9 #B938A2
tetradic
#A2B938 #38B990 #4F38B9 #B93861
square
#A2B938 #38B990 #4F38B9 #B93861
split-complementary
#A2B938 #3861B9 #9038B9
monochromatic
#505B1C #798A2A #A2B938 #BBCF5F #CFDD8E

Accessibility & contrast

On white

2.20
#A2B938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#A2B938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B938
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B938#FFFFFF#000000##000000
##A2B9381.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF23
Deuteranopia (green-blind)
#C2AF42
Tritanopia (blue-blind)
#ABAFA0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a2b938;
/* rgb */ color: rgb(162, 185, 56);
/* oklch */ color: oklch(74.4% 0.153 119.1);
Tailwind
colors: {
  custom: {
    50: '#c1ce77',
    500: '#a2b938',
    950: '#000000',
  },
}
SCSS
$custom: #a2b938;
$custom-light: #c1ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b938",
  "rgb": {
    "r": 162,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 70.698,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.74422,
    "c": 0.15281,
    "h": 119.1
  },
  "luminance": 0.42665
}

Semantic roles & 50–950 ramp

primary
#A2B938
secondary
#9185C8
accent
#4BDD65
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B938

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

Preview Lab → · Contrast checker → · Palette generator →

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