#A6B82F#A6B82F

#A6B82F 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#A6B82F
RGBrgb(166, 184, 47)
HSLhsl(68, 59%, 45%)
HSVhsv(68, 74%, 72%)
CMYKcmyk(9.8%, 0%, 74.5%, 27.8%)
CIE-LABlab(71.28, -23.43, 62.87)
CIE-LCHlch(71.28, 67.10, 110.44°)
OKLaboklab(74.44% -0.0706 0.1388)
OKLCHoklch(74.44% 0.156 117)
XYZxyz(33.3803, 42.5936, 9.1517)
Luminance0.4259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B82F #412FB8
analogous
#B8852F #A6B82F #62B82F
triadic
#A6B82F #2FA6B8 #B82FA6
tetradic
#A6B82F #2FB885 #412FB8 #B82F62
square
#A6B82F #2FB885 #412FB8 #B82F62
split-complementary
#A6B82F #2F62B8 #852FB8
monochromatic
#4E5716 #7A8723 #A6B82F #C2D352 #D3DF82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B82F#FFFFFF#000000##000000
##A6B82F1.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)
#C5AE10
Deuteranopia (green-blind)
#C3AF3B
Tritanopia (blue-blind)
#B0AD9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a6b82f;
/* rgb */ color: rgb(166, 184, 47);
/* oklch */ color: oklch(74.4% 0.156 117.0);
Tailwind
colors: {
  custom: {
    50: '#c4cd72',
    500: '#a6b82f',
    950: '#000000',
  },
}
SCSS
$custom: #a6b82f;
$custom-light: #c4cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b82f",
  "rgb": {
    "r": 166,
    "g": 184,
    "b": 47
  },
  "hsl": {
    "h": 67.883,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74438,
    "c": 0.15573,
    "h": 117
  },
  "luminance": 0.42593
}

Semantic roles & 50–950 ramp

primary
#A6B82F
secondary
#857BC8
accent
#45E25A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B82F

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

Preview Lab → · Contrast checker → · Palette generator →

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