#A2B928#A2B928

#A2B928 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.3% C 0.162 H 118.7°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#A2B928
RGBrgb(162, 185, 40)
HSLhsl(70, 64%, 44%)
HSVhsv(70, 78%, 73%)
CMYKcmyk(12.4%, 0%, 78.4%, 27.5%)
CIE-LABlab(71.24, -25.91, 64.94)
CIE-LCHlch(71.24, 69.92, 111.75°)
OKLaboklab(74.32% -0.0778 0.1421)
OKLCHoklch(74.32% 0.162 118.7)
XYZxyz(32.6330, 42.5328, 8.4976)
Luminance0.4253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B928 #3F28B9
analogous
#B98828 #A2B928 #5AB928
triadic
#A2B928 #28A2B9 #B928A2
tetradic
#A2B928 #28B988 #3F28B9 #B9285A
square
#A2B928 #28B988 #3F28B9 #B9285A
split-complementary
#A2B928 #285AB9 #8828B9
monochromatic
#4A5412 #76871D #A2B928 #C0D747 #D1E279

Accessibility & contrast

On white

2.21
#A2B928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#A2B928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B928
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B928#FFFFFF#000000##000000
##A2B9281.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C3AF36
Tritanopia (blue-blind)
#ACAF9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a2b928;
/* rgb */ color: rgb(162, 185, 40);
/* oklch */ color: oklch(74.3% 0.162 118.7);
Tailwind
colors: {
  custom: {
    50: '#c1ce6f',
    500: '#a2b928',
    950: '#000000',
  },
}
SCSS
$custom: #a2b928;
$custom-light: #c1ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b928",
  "rgb": {
    "r": 162,
    "g": 185,
    "b": 40
  },
  "hsl": {
    "h": 69.517,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.7432,
    "c": 0.16199,
    "h": 118.7
  },
  "luminance": 0.42533
}

Semantic roles & 50–950 ramp

primary
#A2B928
secondary
#8173CA
accent
#40E75B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B928

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

Preview Lab → · Contrast checker → · Palette generator →

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