#A6B82D#A6B82D

#A6B82D 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.52:1 contrast (WCAG AA passes).

Color values

HEX#A6B82D
RGBrgb(166, 184, 45)
HSLhsl(68, 61%, 45%)
HSVhsv(68, 76%, 72%)
CMYKcmyk(9.8%, 0%, 75.5%, 27.8%)
CIE-LABlab(71.27, -23.53, 63.52)
CIE-LCHlch(71.27, 67.74, 110.32°)
OKLaboklab(74.43% -0.071 0.1398)
OKLCHoklch(74.43% 0.157 116.9)
XYZxyz(33.3409, 42.5779, 8.9441)
Luminance0.4258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B82D #3F2DB8
analogous
#B8852D #A6B82D #60B82D
triadic
#A6B82D #2DA6B8 #B82DA6
tetradic
#A6B82D #2DB885 #3F2DB8 #B82D60
square
#A6B82D #2DB885 #3F2DB8 #B82D60
split-complementary
#A6B82D #2D60B8 #852DB8
monochromatic
#4D5615 #7A8721 #A6B82D #C3D44E #D3E080

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B82D#FFFFFF#000000##000000
##A6B82D1.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)
#C5AE0A
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#B1AD9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a6b82d;
/* rgb */ color: rgb(166, 184, 45);
/* oklch */ color: oklch(74.4% 0.157 116.9);
Tailwind
colors: {
  custom: {
    50: '#c4cd71',
    500: '#a6b82d',
    950: '#000000',
  },
}
SCSS
$custom: #a6b82d;
$custom-light: #c4cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b82d",
  "rgb": {
    "r": 166,
    "g": 184,
    "b": 45
  },
  "hsl": {
    "h": 67.77,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74426,
    "c": 0.15684,
    "h": 116.9
  },
  "luminance": 0.42577
}

Semantic roles & 50–950 ramp

primary
#A6B82D
secondary
#8378C9
accent
#44E459
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B82D

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

Preview Lab → · Contrast checker → · Palette generator →

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