#A6BA32#A6BA32

#A6BA32 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 74.9% C 0.156 H 117.7°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#A6BA32
RGBrgb(166, 186, 50)
HSLhsl(69, 58%, 46%)
HSVhsv(69, 73%, 73%)
CMYKcmyk(10.8%, 0%, 73.1%, 27.1%)
CIE-LABlab(71.86, -24.27, 62.41)
CIE-LCHlch(71.86, 66.96, 111.25°)
OKLaboklab(74.91% -0.0727 0.1383)
OKLCHoklch(74.91% 0.156 117.7)
XYZxyz(33.8613, 43.4554, 9.6209)
Luminance0.4345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BA32 #4632BA
analogous
#BA8A32 #A6BA32 #62BA32
triadic
#A6BA32 #32A6BA #BA32A6
tetradic
#A6BA32 #32BA8A #4632BA #BA3262
square
#A6BA32 #32BA8A #4632BA #BA3262
split-complementary
#A6BA32 #3262BA #8A32BA
monochromatic
#505A18 #7B8A25 #A6BA32 #C0D257 #D2DF88

Accessibility & contrast

On white

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

On black

9.69
#A6BA32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BA32
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BA32#FFFFFF#000000##000000
##A6BA321.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B017
Deuteranopia (green-blind)
#C5B13E
Tritanopia (blue-blind)
#B0B0A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a6ba32;
/* rgb */ color: rgb(166, 186, 50);
/* oklch */ color: oklch(74.9% 0.156 117.7);
Tailwind
colors: {
  custom: {
    50: '#c4ce74',
    500: '#a6ba32',
    950: '#000000',
  },
}
SCSS
$custom: #a6ba32;
$custom-light: #c4ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ba32",
  "rgb": {
    "r": 166,
    "g": 186,
    "b": 50
  },
  "hsl": {
    "h": 68.824,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74914,
    "c": 0.15625,
    "h": 117.7
  },
  "luminance": 0.43455
}

Semantic roles & 50–950 ramp

primary
#A6BA32
secondary
#8A7FC9
accent
#47E15E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6BA32

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

Preview Lab → · Contrast checker → · Palette generator →

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