#A2B42B#A2B42B

#A2B42B is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.2% C 0.155 H 117.1°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#A2B42B
RGBrgb(162, 180, 43)
HSLhsl(68, 61%, 44%)
HSVhsv(68, 76%, 71%)
CMYKcmyk(10%, 0%, 76.1%, 29.4%)
CIE-LABlab(69.82, -23.33, 62.71)
CIE-LCHlch(69.82, 66.92, 110.41°)
OKLaboklab(73.19% -0.0705 0.1379)
OKLCHoklch(73.19% 0.155 117.1)
XYZxyz(31.6584, 40.4987, 8.4343)
Luminance0.4050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B42B #3D2BB4
analogous
#B4812B #A2B42B #5DB42B
triadic
#A2B42B #2BA2B4 #B42BA2
tetradic
#A2B42B #2BB481 #3D2BB4 #B42B5D
square
#A2B42B #2BB481 #3D2BB4 #B42B5D
split-complementary
#A2B42B #2B5DB4 #812BB4
monochromatic
#495113 #76831F #A2B42B #C1D349 #D2DF7A

Accessibility & contrast

On white

2.31
#A2B42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#A2B42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B42B
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B42B#FFFFFF#000000##000000
##A2B42B1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA07
Deuteranopia (green-blind)
#BFAB37
Tritanopia (blue-blind)
#ACAA9A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b42b;
/* rgb */ color: rgb(162, 180, 43);
/* oklch */ color: oklch(73.2% 0.155 117.1);
Tailwind
colors: {
  custom: {
    50: '#c1ca70',
    500: '#a2b42b',
    950: '#000000',
  },
}
SCSS
$custom: #a2b42b;
$custom-light: #c1ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b42b",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 43
  },
  "hsl": {
    "h": 67.883,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73188,
    "c": 0.15486,
    "h": 117.1
  },
  "luminance": 0.40498
}

Semantic roles & 50–950 ramp

primary
#A2B42B
secondary
#7E73C7
accent
#43E558
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B42B

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

Preview Lab → · Contrast checker → · Palette generator →

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