#A2B628#A2B628

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

Color values

HEX#A2B628
RGBrgb(162, 182, 40)
HSLhsl(68, 64%, 44%)
HSVhsv(68, 78%, 71%)
CMYKcmyk(11%, 0%, 78%, 28.6%)
CIE-LABlab(70.38, -24.45, 64.16)
CIE-LCHlch(70.38, 68.66, 110.86°)
OKLaboklab(73.63% -0.0738 0.1404)
OKLCHoklch(73.63% 0.159 117.7)
XYZxyz(32.0120, 41.2908, 8.2906)
Luminance0.4129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B628 #3C28B6
analogous
#B68328 #A2B628 #5BB628
triadic
#A2B628 #28A2B6 #B628A2
tetradic
#A2B628 #28B683 #3C28B6 #B6285B
square
#A2B628 #28B683 #3C28B6 #B6285B
split-complementary
#A2B628 #285BB6 #8328B6
monochromatic
#495212 #75841D #A2B628 #C2D645 #D2E177

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B628#FFFFFF#000000##000000
##A2B6281.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: #a2b628;
/* rgb */ color: rgb(162, 182, 40);
/* oklch */ color: oklch(73.6% 0.159 117.7);
Tailwind
colors: {
  custom: {
    50: '#c1cb6e',
    500: '#a2b628',
    950: '#000000',
  },
}
SCSS
$custom: #a2b628;
$custom-light: #c1cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b628",
  "rgb": {
    "r": 162,
    "g": 182,
    "b": 40
  },
  "hsl": {
    "h": 68.451,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.7363,
    "c": 0.15864,
    "h": 117.7
  },
  "luminance": 0.4129
}

Semantic roles & 50–950 ramp

primary
#A2B628
secondary
#7D71C9
accent
#41E758
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B628

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

Preview Lab → · Contrast checker → · Palette generator →

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