#A2B327#A2B327

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

Color values

HEX#A2B327
RGBrgb(162, 179, 39)
HSLhsl(67, 64%, 43%)
HSVhsv(67, 78%, 70%)
CMYKcmyk(9.5%, 0%, 78.2%, 29.8%)
CIE-LABlab(69.52, -23.01, 63.68)
CIE-LCHlch(69.52, 67.71, 109.87°)
OKLaboklab(72.94% -0.0699 0.1393)
OKLCHoklch(72.94% 0.156 116.7)
XYZxyz(31.3874, 40.0685, 7.9996)
Luminance0.4007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B327 #3827B3
analogous
#B37E27 #A2B327 #5CB327
triadic
#A2B327 #27A2B3 #B327A2
tetradic
#A2B327 #27B37E #3827B3 #B3275C
square
#A2B327 #27B37E #3827B3 #B3275C
split-complementary
#A2B327 #275CB3 #7E27B3
monochromatic
#474E11 #75811C #A2B327 #C4D641 #D3E174

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B327#FFFFFF#000000##000000
##A2B3271.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)
#ADA999
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b327;
/* rgb */ color: rgb(162, 179, 39);
/* oklch */ color: oklch(72.9% 0.156 116.7);
Tailwind
colors: {
  custom: {
    50: '#c1c96e',
    500: '#a2b327',
    950: '#000000',
  },
}
SCSS
$custom: #a2b327;
$custom-light: #c1c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b327",
  "rgb": {
    "r": 162,
    "g": 179,
    "b": 39
  },
  "hsl": {
    "h": 67.286,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72936,
    "c": 0.15581,
    "h": 116.7
  },
  "luminance": 0.40068
}

Semantic roles & 50–950 ramp

primary
#A2B327
secondary
#796EC8
accent
#41E755
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B327

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

Preview Lab → · Contrast checker → · Palette generator →

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