#A2B326#A2B326

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

Color values

HEX#A2B326
RGBrgb(162, 179, 38)
HSLhsl(67, 65%, 43%)
HSVhsv(67, 79%, 70%)
CMYKcmyk(9.5%, 0%, 78.8%, 29.8%)
CIE-LABlab(69.51, -23.05, 63.97)
CIE-LCHlch(69.51, 68.00, 109.82°)
OKLaboklab(72.93% -0.0701 0.1397)
OKLCHoklch(72.93% 0.156 116.6)
XYZxyz(31.3711, 40.0620, 7.9135)
Luminance0.4006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B326 #3726B3
analogous
#B37D26 #A2B326 #5CB326
triadic
#A2B326 #26A2B3 #B326A2
tetradic
#A2B326 #26B37D #3726B3 #B3265C
square
#A2B326 #26B37D #3726B3 #B3265C
split-complementary
#A2B326 #265CB3 #7D26B3
monochromatic
#474E11 #74811B #A2B326 #C4D640 #D4E172

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B326#FFFFFF#000000##000000
##A2B3261.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)
#BEAB34
Tritanopia (blue-blind)
#ADA899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b326;
/* rgb */ color: rgb(162, 179, 38);
/* oklch */ color: oklch(72.9% 0.156 116.6);
Tailwind
colors: {
  custom: {
    50: '#c1c96d',
    500: '#a2b326',
    950: '#000000',
  },
}
SCSS
$custom: #a2b326;
$custom-light: #c1c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b326",
  "rgb": {
    "r": 162,
    "g": 179,
    "b": 38
  },
  "hsl": {
    "h": 67.234,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72931,
    "c": 0.1563,
    "h": 116.6
  },
  "luminance": 0.40062
}

Semantic roles & 50–950 ramp

primary
#A2B326
secondary
#786DC8
accent
#40E854
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A2B326

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

Preview Lab → · Contrast checker → · Palette generator →

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