#A6BA29#A6BA29

#A6BA29 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 74.9% C 0.161 H 117.6°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#A6BA29
RGBrgb(166, 186, 41)
HSLhsl(68, 64%, 45%)
HSVhsv(68, 78%, 73%)
CMYKcmyk(10.8%, 0%, 78%, 27.1%)
CIE-LABlab(71.82, -24.68, 65.27)
CIE-LCHlch(71.82, 69.78, 110.71°)
OKLaboklab(74.86% -0.0745 0.1428)
OKLCHoklch(74.86% 0.161 117.6)
XYZxyz(33.6859, 43.3853, 8.6970)
Luminance0.4339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BA29 #3D29BA
analogous
#BA8629 #A6BA29 #5DBA29
triadic
#A6BA29 #29A6BA #BA29A6
tetradic
#A6BA29 #29BA86 #3D29BA #BA295D
square
#A6BA29 #29BA86 #3D29BA #BA295D
split-complementary
#A6BA29 #295DBA #8629BA
monochromatic
#4C5613 #79881E #A6BA29 #C3D749 #D4E27B

Accessibility & contrast

On white

2.17
#A6BA29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#A6BA29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BA29
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BA29#FFFFFF#000000##000000
##A6BA291.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C5B137
Tritanopia (blue-blind)
#B1AF9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a6ba29;
/* rgb */ color: rgb(166, 186, 41);
/* oklch */ color: oklch(74.9% 0.161 117.6);
Tailwind
colors: {
  custom: {
    50: '#c4ce6f',
    500: '#a6ba29',
    950: '#000000',
  },
}
SCSS
$custom: #a6ba29;
$custom-light: #c4ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ba29",
  "rgb": {
    "r": 166,
    "g": 186,
    "b": 41
  },
  "hsl": {
    "h": 68.276,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.7486,
    "c": 0.16112,
    "h": 117.6
  },
  "luminance": 0.43385
}

Semantic roles & 50–950 ramp

primary
#A6BA29
secondary
#8075CA
accent
#41E758
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6BA29

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

Preview Lab → · Contrast checker → · Palette generator →

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