#A6B22C#A6B22C

#A6B22C is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.1% C 0.151 H 114.7°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#A6B22C
RGBrgb(166, 178, 44)
HSLhsl(65, 60%, 44%)
HSVhsv(65, 75%, 70%)
CMYKcmyk(6.7%, 0%, 75.3%, 30.2%)
CIE-LABlab(69.56, -20.60, 62.25)
CIE-LCHlch(69.56, 65.57, 108.31°)
OKLaboklab(73.06% -0.063 0.137)
OKLCHoklch(73.06% 0.151 114.7)
XYZxyz(32.1018, 40.1302, 8.4372)
Luminance0.4013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B22C #382CB2
analogous
#B27B2C #A6B22C #63B22C
triadic
#A6B22C #2CA6B2 #B22CA6
tetradic
#A6B22C #2CB27B #382CB2 #B22C63
square
#A6B22C #2CB27B #382CB2 #B22C63
split-complementary
#A6B22C #2C63B2 #7B2CB2
monochromatic
#4A5014 #788120 #A6B22C #C6D249 #D5DE7A

Accessibility & contrast

On white

2.33
#A6B22C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#A6B22C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B22C
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B22C#FFFFFF#000000##000000
##A6B22C1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA90C
Deuteranopia (green-blind)
#BEAB38
Tritanopia (blue-blind)
#B1A799
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a6b22c;
/* rgb */ color: rgb(166, 178, 44);
/* oklch */ color: oklch(73.1% 0.151 114.7);
Tailwind
colors: {
  custom: {
    50: '#c4c870',
    500: '#a6b22c',
    950: '#000000',
  },
}
SCSS
$custom: #a6b22c;
$custom-light: #c4c870;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b22c",
  "rgb": {
    "r": 166,
    "g": 178,
    "b": 44
  },
  "hsl": {
    "h": 65.373,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73055,
    "c": 0.15077,
    "h": 114.7
  },
  "luminance": 0.4013
}

Semantic roles & 50–950 ramp

primary
#A6B22C
secondary
#7B73C6
accent
#44E453
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B22C

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

Preview Lab → · Contrast checker → · Palette generator →

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