#A2B328#A2B328

#A2B328 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 72.9% C 0.155 H 116.7°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#A2B328
RGBrgb(162, 179, 40)
HSLhsl(67, 63%, 43%)
HSVhsv(67, 78%, 70%)
CMYKcmyk(9.5%, 0%, 77.7%, 29.8%)
CIE-LABlab(69.52, -22.97, 63.38)
CIE-LCHlch(69.52, 67.41, 109.92°)
OKLaboklab(72.94% -0.0697 0.1388)
OKLCHoklch(72.94% 0.155 116.7)
XYZxyz(31.4042, 40.0752, 8.0880)
Luminance0.4007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B328 #3928B3
analogous
#B37E28 #A2B328 #5DB328
triadic
#A2B328 #28A2B3 #B328A2
tetradic
#A2B328 #28B37E #3928B3 #B3285D
square
#A2B328 #28B37E #3928B3 #B3285D
split-complementary
#A2B328 #285DB3 #7E28B3
monochromatic
#474F12 #75811D #A2B328 #C3D543 #D3E075

Accessibility & contrast

On white

2.33
#A2B328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#A2B328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B328
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B328#FFFFFF#000000##000000
##A2B3281.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAB35
Tritanopia (blue-blind)
#ADA999
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b328;
/* rgb */ color: rgb(162, 179, 40);
/* oklch */ color: oklch(72.9% 0.155 116.7);
Tailwind
colors: {
  custom: {
    50: '#c1c96e',
    500: '#a2b328',
    950: '#000000',
  },
}
SCSS
$custom: #a2b328;
$custom-light: #c1c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b328",
  "rgb": {
    "r": 162,
    "g": 179,
    "b": 40
  },
  "hsl": {
    "h": 67.338,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72942,
    "c": 0.1553,
    "h": 116.7
  },
  "luminance": 0.40075
}

Semantic roles & 50–950 ramp

primary
#A2B328
secondary
#7A6FC8
accent
#41E656
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B328

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

Preview Lab → · Contrast checker → · Palette generator →

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