#A2B529#A2B529

#A2B529 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.4% C 0.157 H 117.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#A2B529
RGBrgb(162, 181, 41)
HSLhsl(68, 63%, 44%)
HSVhsv(68, 77%, 71%)
CMYKcmyk(10.5%, 0%, 77.3%, 29%)
CIE-LABlab(70.10, -23.91, 63.60)
CIE-LCHlch(70.10, 67.95, 110.61°)
OKLaboklab(73.41% -0.0722 0.1394)
OKLCHoklch(73.41% 0.157 117.4)
XYZxyz(31.8252, 40.8896, 8.3133)
Luminance0.4089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B529 #3C29B5
analogous
#B58229 #A2B529 #5CB529
triadic
#A2B529 #29A2B5 #B529A2
tetradic
#A2B529 #29B582 #3C29B5 #B5295C
square
#A2B529 #29B582 #3C29B5 #B5295C
split-complementary
#A2B529 #295CB5 #8229B5
monochromatic
#495112 #75831E #A2B529 #C2D546 #D2E078

Accessibility & contrast

On white

2.29
#A2B529 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#A2B529 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B529
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B529#FFFFFF#000000##000000
##A2B5291.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C0AC36
Tritanopia (blue-blind)
#ACAB9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b529;
/* rgb */ color: rgb(162, 181, 41);
/* oklch */ color: oklch(73.4% 0.157 117.4);
Tailwind
colors: {
  custom: {
    50: '#c1cb6f',
    500: '#a2b529',
    950: '#000000',
  },
}
SCSS
$custom: #a2b529;
$custom-light: #c1cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b529",
  "rgb": {
    "r": 162,
    "g": 181,
    "b": 41
  },
  "hsl": {
    "h": 68.143,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73406,
    "c": 0.15702,
    "h": 117.4
  },
  "luminance": 0.40889
}

Semantic roles & 50–950 ramp

primary
#A2B529
secondary
#7D72C8
accent
#42E658
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B529

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

Preview Lab → · Contrast checker → · Palette generator →

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