#A6B429#A6B429

#A6B429 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.5% C 0.155 H 115.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#A6B429
RGBrgb(166, 180, 41)
HSLhsl(66, 63%, 43%)
HSVhsv(66, 77%, 71%)
CMYKcmyk(7.8%, 0%, 77.2%, 29.4%)
CIE-LABlab(70.11, -21.72, 63.72)
CIE-LCHlch(70.11, 67.32, 108.83°)
OKLaboklab(73.49% -0.0664 0.1396)
OKLCHoklch(73.49% 0.155 115.4)
XYZxyz(32.4483, 40.9101, 8.2845)
Luminance0.4091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B429 #3729B4
analogous
#B47C29 #A6B429 #60B429
triadic
#A6B429 #29A6B4 #B429A6
tetradic
#A6B429 #29B47C #3729B4 #B42960
square
#A6B429 #29B47C #3729B4 #B42960
split-complementary
#A6B429 #2960B4 #7C29B4
monochromatic
#4A5012 #78821E #A6B429 #C6D545 #D6E077

Accessibility & contrast

On white

2.29
#A6B429 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#A6B429 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B429
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B429#FFFFFF#000000##000000
##A6B4291.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB00
Deuteranopia (green-blind)
#C0AC36
Tritanopia (blue-blind)
#B1A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6b429;
/* rgb */ color: rgb(166, 180, 41);
/* oklch */ color: oklch(73.5% 0.155 115.4);
Tailwind
colors: {
  custom: {
    50: '#c4ca6f',
    500: '#a6b429',
    950: '#000000',
  },
}
SCSS
$custom: #a6b429;
$custom-light: #c4ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b429",
  "rgb": {
    "r": 166,
    "g": 180,
    "b": 41
  },
  "hsl": {
    "h": 66.043,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.73492,
    "c": 0.15454,
    "h": 115.4
  },
  "luminance": 0.4091
}

Semantic roles & 50–950 ramp

primary
#A6B429
secondary
#7A71C8
accent
#42E652
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B429

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

Preview Lab → · Contrast checker → · Palette generator →

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