#A6B529#A6B529

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

Color values

HEX#A6B529
RGBrgb(166, 181, 41)
HSLhsl(66, 63%, 44%)
HSVhsv(66, 77%, 71%)
CMYKcmyk(8.3%, 0%, 77.3%, 29%)
CIE-LABlab(70.40, -22.22, 63.98)
CIE-LCHlch(70.40, 67.73, 109.15°)
OKLaboklab(73.72% -0.0678 0.1401)
OKLCHoklch(73.72% 0.156 115.8)
XYZxyz(32.6509, 41.3153, 8.3520)
Luminance0.4132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B529 #3829B5
analogous
#B57E29 #A6B529 #60B529
triadic
#A6B529 #29A6B5 #B529A6
tetradic
#A6B529 #29B57E #3829B5 #B52960
square
#A6B529 #29B57E #3829B5 #B52960
split-complementary
#A6B529 #2960B5 #7E29B5
monochromatic
#4A5112 #78831E #A6B529 #C6D546 #D5E078

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B529#FFFFFF#000000##000000
##A6B5291.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)
#C2AB00
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#B1AA9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a6b529;
/* rgb */ color: rgb(166, 181, 41);
/* oklch */ color: oklch(73.7% 0.156 115.8);
Tailwind
colors: {
  custom: {
    50: '#c4cb6f',
    500: '#a6b529',
    950: '#000000',
  },
}
SCSS
$custom: #a6b529;
$custom-light: #c4cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b529",
  "rgb": {
    "r": 166,
    "g": 181,
    "b": 41
  },
  "hsl": {
    "h": 66.429,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.7372,
    "c": 0.15563,
    "h": 115.8
  },
  "luminance": 0.41315
}

Semantic roles & 50–950 ramp

primary
#A6B529
secondary
#7B72C8
accent
#42E653
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B529

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

Preview Lab → · Contrast checker → · Palette generator →

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