#A2B342#A2B342

#A2B342 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.1% C 0.138 H 117.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#A2B342
RGBrgb(162, 179, 66)
HSLhsl(69, 46%, 48%)
HSVhsv(69, 63%, 70%)
CMYKcmyk(9.5%, 0%, 63.1%, 29.8%)
CIE-LABlab(69.69, -21.52, 53.90)
CIE-LCHlch(69.69, 58.04, 111.76°)
OKLaboklab(73.13% -0.0633 0.123)
OKLCHoklch(73.13% 0.138 117.2)
XYZxyz(32.0044, 40.3153, 11.2488)
Luminance0.4032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B342 #5342B3
analogous
#B38C42 #A2B342 #69B342
triadic
#A2B342 #42A2B3 #B342A2
tetradic
#A2B342 #42B38C #5342B3 #B34269
square
#A2B342 #42B38C #5342B3 #B34269
split-complementary
#A2B342 #4269B3 #8C42B3
monochromatic
#515A21 #7A8632 #A2B342 #BAC86A #CFD997

Accessibility & contrast

On white

2.32
#A2B342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#A2B342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B342
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B342#FFFFFF#000000##000000
##A2B3421.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA34
Deuteranopia (green-blind)
#BDAB4A
Tritanopia (blue-blind)
#ABA99B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b342;
/* rgb */ color: rgb(162, 179, 66);
/* oklch */ color: oklch(73.1% 0.138 117.2);
Tailwind
colors: {
  custom: {
    50: '#c0c97c',
    500: '#a2b342',
    950: '#000000',
  },
}
SCSS
$custom: #a2b342;
$custom-light: #c0c97c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b342",
  "rgb": {
    "r": 162,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 69.027,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73133,
    "c": 0.13833,
    "h": 117.2
  },
  "luminance": 0.40315
}

Semantic roles & 50–950 ramp

primary
#A2B342
secondary
#958CC4
accent
#52D666
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B342

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

Preview Lab → · Contrast checker → · Palette generator →

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