#A6B32B#A6B32B

#A6B32B is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.3% C 0.152 H 115.1°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#A6B32B
RGBrgb(166, 179, 43)
HSLhsl(66, 61%, 44%)
HSVhsv(66, 76%, 70%)
CMYKcmyk(7.3%, 0%, 76%, 29.8%)
CIE-LABlab(69.84, -21.14, 62.84)
CIE-LCHlch(69.84, 66.30, 108.59°)
OKLaboklab(73.28% -0.0646 0.138)
OKLCHoklch(73.28% 0.152 115.1)
XYZxyz(32.2830, 40.5222, 8.4060)
Luminance0.4052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B32B #382BB3
analogous
#B37C2B #A6B32B #62B32B
triadic
#A6B32B #2BA6B3 #B32BA6
tetradic
#A6B32B #2BB37C #382BB3 #B32B62
square
#A6B32B #2BB37C #382BB3 #B32B62
split-complementary
#A6B32B #2B62B3 #7C2BB3
monochromatic
#4A5013 #78821F #A6B32B #C6D348 #D5DF79

Accessibility & contrast

On white

2.31
#A6B32B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#A6B32B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B32B
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B32B#FFFFFF#000000##000000
##A6B32B1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA07
Deuteranopia (green-blind)
#BFAC37
Tritanopia (blue-blind)
#B1A899
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6b32b;
/* rgb */ color: rgb(166, 179, 43);
/* oklch */ color: oklch(73.3% 0.152 115.1);
Tailwind
colors: {
  custom: {
    50: '#c4c970',
    500: '#a6b32b',
    950: '#000000',
  },
}
SCSS
$custom: #a6b32b;
$custom-light: #c4c970;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b32b",
  "rgb": {
    "r": 166,
    "g": 179,
    "b": 43
  },
  "hsl": {
    "h": 65.735,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73276,
    "c": 0.15241,
    "h": 115.1
  },
  "luminance": 0.40522
}

Semantic roles & 50–950 ramp

primary
#A6B32B
secondary
#7B73C7
accent
#43E453
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B32B

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

Preview Lab → · Contrast checker → · Palette generator →

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