#A2B229#A2B229

#A2B229 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.7% C 0.154 H 116.3°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#A2B229
RGBrgb(162, 178, 41)
HSLhsl(67, 63%, 43%)
HSVhsv(67, 77%, 70%)
CMYKcmyk(9%, 0%, 77%, 30.2%)
CIE-LABlab(69.24, -22.43, 62.81)
CIE-LCHlch(69.24, 66.70, 109.65°)
OKLaboklab(72.72% -0.0681 0.1378)
OKLCHoklch(72.72% 0.154 116.3)
XYZxyz(31.2218, 39.6827, 8.1122)
Luminance0.3968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B229 #3929B2
analogous
#B27D29 #A2B229 #5EB229
triadic
#A2B229 #29A2B2 #B229A2
tetradic
#A2B229 #29B27D #3929B2 #B2295E
square
#A2B229 #29B27D #3929B2 #B2295E
split-complementary
#A2B229 #295EB2 #7D29B2
monochromatic
#474F12 #75801E #A2B229 #C3D444 #D3DF76

Accessibility & contrast

On white

2.35
#A2B229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#A2B229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B229
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B229#FFFFFF#000000##000000
##A2B2291.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA802
Deuteranopia (green-blind)
#BDAA36
Tritanopia (blue-blind)
#ADA898
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b229;
/* rgb */ color: rgb(162, 178, 41);
/* oklch */ color: oklch(72.7% 0.154 116.3);
Tailwind
colors: {
  custom: {
    50: '#c1c86e',
    500: '#a2b229',
    950: '#000000',
  },
}
SCSS
$custom: #a2b229;
$custom-light: #c1c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b229",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 67.007,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72718,
    "c": 0.1537,
    "h": 116.3
  },
  "luminance": 0.39682
}

Semantic roles & 50–950 ramp

primary
#A2B229
secondary
#7A70C7
accent
#42E655
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B229

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

Preview Lab → · Contrast checker → · Palette generator →

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