#A6B82E#A6B82E

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

Color values

HEX#A6B82E
RGBrgb(166, 184, 46)
HSLhsl(68, 60%, 45%)
HSVhsv(68, 75%, 72%)
CMYKcmyk(9.8%, 0%, 75%, 27.8%)
CIE-LABlab(71.27, -23.48, 63.20)
CIE-LCHlch(71.27, 67.42, 110.38°)
OKLaboklab(74.43% -0.0708 0.1393)
OKLCHoklch(74.43% 0.156 117)
XYZxyz(33.3604, 42.5856, 9.0467)
Luminance0.4259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B82E #402EB8
analogous
#B8852E #A6B82E #61B82E
triadic
#A6B82E #2EA6B8 #B82EA6
tetradic
#A6B82E #2EB885 #402EB8 #B82E61
square
#A6B82E #2EB885 #402EB8 #B82E61
split-complementary
#A6B82E #2E61B8 #852EB8
monochromatic
#4E5616 #7A8722 #A6B82E #C2D350 #D3DF81

Accessibility & contrast

On white

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

On black

9.52
#A6B82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B82E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B82E#FFFFFF#000000##000000
##A6B82E1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6b82e;
/* rgb */ color: rgb(166, 184, 46);
/* oklch */ color: oklch(74.4% 0.156 117.0);
Tailwind
colors: {
  custom: {
    50: '#c4cd71',
    500: '#a6b82e',
    950: '#000000',
  },
}
SCSS
$custom: #a6b82e;
$custom-light: #c4cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b82e",
  "rgb": {
    "r": 166,
    "g": 184,
    "b": 46
  },
  "hsl": {
    "h": 67.826,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74432,
    "c": 0.15629,
    "h": 117
  },
  "luminance": 0.42585
}

Semantic roles & 50–950 ramp

primary
#A6B82E
secondary
#8479C8
accent
#45E359
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B82E

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

Preview Lab → · Contrast checker → · Palette generator →

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