#A2BA38#A2BA38

#A2BA38 is a light, vivid yellow-green. Relative luminance 0.431; OKLCH L 74.7% C 0.154 H 119.4°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#A2BA38
RGBrgb(162, 186, 56)
HSLhsl(71, 54%, 47%)
HSVhsv(71, 70%, 73%)
CMYKcmyk(12.9%, 0%, 69.9%, 27.1%)
CIE-LABlab(71.61, -25.60, 59.90)
CIE-LCHlch(71.61, 65.14, 113.14°)
OKLaboklab(74.65% -0.0756 0.1342)
OKLCHoklch(74.65% 0.154 119.4)
XYZxyz(33.1736, 43.0849, 10.3092)
Luminance0.4309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2BA38 #5038BA
analogous
#BA9138 #A2BA38 #61BA38
triadic
#A2BA38 #38A2BA #BA38A2
tetradic
#A2BA38 #38BA91 #5038BA #BA3861
square
#A2BA38 #38BA91 #5038BA #BA3861
split-complementary
#A2BA38 #3861BA #9138BA
monochromatic
#505C1C #798B2A #A2BA38 #BBCF60 #CFDD8F

Accessibility & contrast

On white

2.18
#A2BA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#A2BA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2BA38
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2BA38#FFFFFF#000000##000000
##A2BA381.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF23
Deuteranopia (green-blind)
#C3B042
Tritanopia (blue-blind)
#ABB0A0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a2ba38;
/* rgb */ color: rgb(162, 186, 56);
/* oklch */ color: oklch(74.7% 0.154 119.4);
Tailwind
colors: {
  custom: {
    50: '#c1ce77',
    500: '#a2ba38',
    950: '#000000',
  },
}
SCSS
$custom: #a2ba38;
$custom-light: #c1ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ba38",
  "rgb": {
    "r": 162,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 71.077,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.74652,
    "c": 0.15399,
    "h": 119.4
  },
  "luminance": 0.43085
}

Semantic roles & 50–950 ramp

primary
#A2BA38
secondary
#9286C8
accent
#4BDD66
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2BA38

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

Preview Lab → · Contrast checker → · Palette generator →

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