#A6B82B#A6B82B

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

Color values

HEX#A6B82B
RGBrgb(166, 184, 43)
HSLhsl(68, 62%, 45%)
HSVhsv(68, 77%, 72%)
CMYKcmyk(9.8%, 0%, 76.6%, 27.8%)
CIE-LABlab(71.26, -23.61, 64.15)
CIE-LCHlch(71.26, 68.36, 110.21°)
OKLaboklab(74.41% -0.0715 0.1408)
OKLCHoklch(74.41% 0.158 116.9)
XYZxyz(33.3033, 42.5628, 8.7461)
Luminance0.4256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B82B #3D2BB8
analogous
#B8842B #A6B82B #5FB82B
triadic
#A6B82B #2BA6B8 #B82BA6
tetradic
#A6B82B #2BB884 #3D2BB8 #B82B5F
square
#A6B82B #2BB884 #3D2BB8 #B82B5F
split-complementary
#A6B82B #2B5FB8 #842BB8
monochromatic
#4C5514 #79861F #A6B82B #C3D54B #D4E17D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B82B#FFFFFF#000000##000000
##A6B82B1.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)
#C5AE03
Deuteranopia (green-blind)
#C3AF38
Tritanopia (blue-blind)
#B1AD9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a6b82b;
/* rgb */ color: rgb(166, 184, 43);
/* oklch */ color: oklch(74.4% 0.158 116.9);
Tailwind
colors: {
  custom: {
    50: '#c4cd70',
    500: '#a6b82b',
    950: '#000000',
  },
}
SCSS
$custom: #a6b82b;
$custom-light: #c4cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b82b",
  "rgb": {
    "r": 166,
    "g": 184,
    "b": 43
  },
  "hsl": {
    "h": 67.66,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74414,
    "c": 0.1579,
    "h": 116.9
  },
  "luminance": 0.42562
}

Semantic roles & 50–950 ramp

primary
#A6B82B
secondary
#8076C9
accent
#43E557
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B82B

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

Preview Lab → · Contrast checker → · Palette generator →

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