#A6B732#A6B732

#A6B732 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.2% C 0.153 H 116.7°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#A6B732
RGBrgb(166, 183, 50)
HSLhsl(68, 57%, 46%)
HSVhsv(68, 73%, 72%)
CMYKcmyk(9.3%, 0%, 72.7%, 28.2%)
CIE-LABlab(71.01, -22.79, 61.59)
CIE-LCHlch(71.01, 65.67, 110.31°)
OKLaboklab(74.23% -0.0686 0.1366)
OKLCHoklch(74.23% 0.153 116.7)
XYZxyz(33.2359, 42.2047, 9.4125)
Luminance0.4220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B732 #4332B7
analogous
#B78532 #A6B732 #63B732
triadic
#A6B732 #32A6B7 #B732A6
tetradic
#A6B732 #32B785 #4332B7 #B73263
square
#A6B732 #32B785 #4332B7 #B73263
split-complementary
#A6B732 #3263B7 #8532B7
monochromatic
#4F5718 #7A8725 #A6B732 #C1D156 #D3DE86

Accessibility & contrast

On white

2.22
#A6B732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#A6B732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B732
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B732#FFFFFF#000000##000000
##A6B7321.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD18
Deuteranopia (green-blind)
#C2AF3D
Tritanopia (blue-blind)
#B0AD9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a6b732;
/* rgb */ color: rgb(166, 183, 50);
/* oklch */ color: oklch(74.2% 0.153 116.7);
Tailwind
colors: {
  custom: {
    50: '#c4cc73',
    500: '#a6b732',
    950: '#000000',
  },
}
SCSS
$custom: #a6b732;
$custom-light: #c4cc73;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b732",
  "rgb": {
    "r": 166,
    "g": 183,
    "b": 50
  },
  "hsl": {
    "h": 67.669,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74229,
    "c": 0.15286,
    "h": 116.7
  },
  "luminance": 0.42204
}

Semantic roles & 50–950 ramp

primary
#A6B732
secondary
#877DC7
accent
#47E05B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B732

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

Preview Lab → · Contrast checker → · Palette generator →

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