#A6B129#A6B129

#A6B129 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.8% C 0.151 H 114.3°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#A6B129
RGBrgb(166, 177, 41)
HSLhsl(65, 62%, 43%)
HSVhsv(65, 77%, 69%)
CMYKcmyk(6.2%, 0%, 76.8%, 30.6%)
CIE-LABlab(69.26, -20.23, 62.94)
CIE-LCHlch(69.26, 66.12, 107.82°)
OKLaboklab(72.81% -0.0623 0.1379)
OKLCHoklch(72.81% 0.151 114.3)
XYZxyz(31.8492, 39.7120, 8.0848)
Luminance0.3971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B129 #3429B1
analogous
#B17829 #A6B129 #62B129
triadic
#A6B129 #29A6B1 #B129A6
tetradic
#A6B129 #29B178 #3429B1 #B12962
square
#A6B129 #29B178 #3429B1 #B12962
split-complementary
#A6B129 #2962B1 #7829B1
monochromatic
#494E12 #777F1D #A6B129 #C8D444 #D7DF75

Accessibility & contrast

On white

2.35
#A6B129 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#A6B129 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B129
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B129#FFFFFF#000000##000000
##A6B1291.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA802
Deuteranopia (green-blind)
#BEAA35
Tritanopia (blue-blind)
#B1A698
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a6b129;
/* rgb */ color: rgb(166, 177, 41);
/* oklch */ color: oklch(72.8% 0.151 114.3);
Tailwind
colors: {
  custom: {
    50: '#c4c86e',
    500: '#a6b129',
    950: '#000000',
  },
}
SCSS
$custom: #a6b129;
$custom-light: #c4c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b129",
  "rgb": {
    "r": 166,
    "g": 177,
    "b": 41
  },
  "hsl": {
    "h": 64.853,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72811,
    "c": 0.1513,
    "h": 114.3
  },
  "luminance": 0.39711
}

Semantic roles & 50–950 ramp

primary
#A6B129
secondary
#766FC7
accent
#42E550
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B129

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

Preview Lab → · Contrast checker → · Palette generator →

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