#A2B629#A2B629

#A2B629 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.6% C 0.158 H 117.7°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#A2B629
RGBrgb(162, 182, 41)
HSLhsl(69, 63%, 44%)
HSVhsv(69, 77%, 71%)
CMYKcmyk(11%, 0%, 77.5%, 28.6%)
CIE-LABlab(70.38, -24.40, 63.86)
CIE-LCHlch(70.38, 68.36, 110.91°)
OKLaboklab(73.63% -0.0736 0.14)
OKLCHoklch(73.63% 0.158 117.7)
XYZxyz(32.0293, 41.2977, 8.3813)
Luminance0.4130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B629 #3D29B6
analogous
#B68329 #A2B629 #5BB629
triadic
#A2B629 #29A2B6 #B629A2
tetradic
#A2B629 #29B683 #3D29B6 #B6295B
square
#A2B629 #29B683 #3D29B6 #B6295B
split-complementary
#A2B629 #295BB6 #8329B6
monochromatic
#495212 #76841E #A2B629 #C1D547 #D2E179

Accessibility & contrast

On white

2.27
#A2B629 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#A2B629 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B629
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B629#FFFFFF#000000##000000
##A2B6291.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#ACAC9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a2b629;
/* rgb */ color: rgb(162, 182, 41);
/* oklch */ color: oklch(73.6% 0.158 117.7);
Tailwind
colors: {
  custom: {
    50: '#c1cb6f',
    500: '#a2b629',
    950: '#000000',
  },
}
SCSS
$custom: #a2b629;
$custom-light: #c1cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b629",
  "rgb": {
    "r": 162,
    "g": 182,
    "b": 41
  },
  "hsl": {
    "h": 68.511,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73635,
    "c": 0.15814,
    "h": 117.7
  },
  "luminance": 0.41297
}

Semantic roles & 50–950 ramp

primary
#A2B629
secondary
#7E72C9
accent
#42E659
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B629

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

Preview Lab → · Contrast checker → · Palette generator →

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