#A2B742#A2B742

#A2B742 is a light, vivid yellow-green. Relative luminance 0.419; OKLCH L 74.0% C 0.143 H 118.7°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#A2B742
RGBrgb(162, 183, 66)
HSLhsl(71, 47%, 49%)
HSVhsv(71, 64%, 72%)
CMYKcmyk(11.5%, 0%, 63.9%, 28.2%)
CIE-LABlab(70.83, -23.50, 55.12)
CIE-LCHlch(70.83, 59.92, 113.09°)
OKLaboklab(74.05% -0.0688 0.1256)
OKLCHoklch(74.05% 0.143 118.7)
XYZxyz(32.8177, 41.9419, 11.5199)
Luminance0.4194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B742 #5742B7
analogous
#B79242 #A2B742 #68B742
triadic
#A2B742 #42A2B7 #B742A2
tetradic
#A2B742 #42B792 #5742B7 #B74268
square
#A2B742 #42B792 #5742B7 #B74268
split-complementary
#A2B742 #4268B7 #9242B7
monochromatic
#525D22 #7A8A32 #A2B742 #B9CA6C #CFDA99

Accessibility & contrast

On white

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

On black

9.39
#A2B742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B742
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B742#FFFFFF#000000##000000
##A2B7421.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD33
Deuteranopia (green-blind)
#C0AE4A
Tritanopia (blue-blind)
#ABAD9F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a2b742;
/* rgb */ color: rgb(162, 183, 66);
/* oklch */ color: oklch(74.0% 0.143 118.7);
Tailwind
colors: {
  custom: {
    50: '#c0cc7c',
    500: '#a2b742',
    950: '#000000',
  },
}
SCSS
$custom: #a2b742;
$custom-light: #c0cc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b742",
  "rgb": {
    "r": 162,
    "g": 183,
    "b": 66
  },
  "hsl": {
    "h": 70.769,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74046,
    "c": 0.14319,
    "h": 118.7
  },
  "luminance": 0.41942
}

Semantic roles & 50–950 ramp

primary
#A2B742
secondary
#998FC6
accent
#51D769
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B742

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

Preview Lab → · Contrast checker → · Palette generator →

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