#A2B442#A2B442

#A2B442 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.4% C 0.140 H 117.6°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#A2B442
RGBrgb(162, 180, 66)
HSLhsl(69, 46%, 48%)
HSVhsv(69, 63%, 71%)
CMYKcmyk(10%, 0%, 63.3%, 29.4%)
CIE-LABlab(69.98, -22.01, 54.21)
CIE-LCHlch(69.98, 58.51, 112.10°)
OKLaboklab(73.36% -0.0647 0.1237)
OKLCHoklch(73.36% 0.14 117.6)
XYZxyz(32.2055, 40.7176, 11.3159)
Luminance0.4072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B442 #5442B4
analogous
#B48D42 #A2B442 #69B442
triadic
#A2B442 #42A2B4 #B442A2
tetradic
#A2B442 #42B48D #5442B4 #B44269
square
#A2B442 #42B48D #5442B4 #B44269
split-complementary
#A2B442 #4269B4 #8D42B4
monochromatic
#515A21 #7A8732 #A2B442 #BAC96B #CFD997

Accessibility & contrast

On white

2.30
#A2B442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#A2B442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B442
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B442#FFFFFF#000000##000000
##A2B4421.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB34
Deuteranopia (green-blind)
#BEAC4A
Tritanopia (blue-blind)
#ABAA9C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b442;
/* rgb */ color: rgb(162, 180, 66);
/* oklch */ color: oklch(73.4% 0.140 117.6);
Tailwind
colors: {
  custom: {
    50: '#c0ca7c',
    500: '#a2b442',
    950: '#000000',
  },
}
SCSS
$custom: #a2b442;
$custom-light: #c0ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b442",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 69.474,
    "s": 46.341,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73361,
    "c": 0.13954,
    "h": 117.6
  },
  "luminance": 0.40717
}

Semantic roles & 50–950 ramp

primary
#A2B442
secondary
#968DC5
accent
#52D667
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B442

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

Preview Lab → · Contrast checker → · Palette generator →

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