#A6B82C#A6B82C

#A6B82C is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.4% C 0.157 H 116.9°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#A6B82C
RGBrgb(166, 184, 44)
HSLhsl(68, 61%, 45%)
HSVhsv(68, 76%, 72%)
CMYKcmyk(9.8%, 0%, 76.1%, 27.8%)
CIE-LABlab(71.26, -23.57, 63.84)
CIE-LCHlch(71.26, 68.05, 110.27°)
OKLaboklab(74.42% -0.0713 0.1403)
OKLCHoklch(74.42% 0.157 116.9)
XYZxyz(33.3218, 42.5702, 8.8439)
Luminance0.4257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B82C #3E2CB8
analogous
#B8842C #A6B82C #60B82C
triadic
#A6B82C #2CA6B8 #B82CA6
tetradic
#A6B82C #2CB884 #3E2CB8 #B82C60
square
#A6B82C #2CB884 #3E2CB8 #B82C60
split-complementary
#A6B82C #2C60B8 #842CB8
monochromatic
#4D5514 #798720 #A6B82C #C3D44D #D4E07E

Accessibility & contrast

On white

2.21
#A6B82C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#A6B82C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B82C
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B82C#FFFFFF#000000##000000
##A6B82C1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE06
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#B1AD9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a6b82c;
/* rgb */ color: rgb(166, 184, 44);
/* oklch */ color: oklch(74.4% 0.157 116.9);
Tailwind
colors: {
  custom: {
    50: '#c4cd71',
    500: '#a6b82c',
    950: '#000000',
  },
}
SCSS
$custom: #a6b82c;
$custom-light: #c4cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b82c",
  "rgb": {
    "r": 166,
    "g": 184,
    "b": 44
  },
  "hsl": {
    "h": 67.714,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7442,
    "c": 0.15738,
    "h": 116.9
  },
  "luminance": 0.4257
}

Semantic roles & 50–950 ramp

primary
#A6B82C
secondary
#8277C9
accent
#43E558
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B82C

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

Preview Lab → · Contrast checker → · Palette generator →

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