#A6BD22#A6BD22

#A6BD22 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.5% C 0.168 H 118.4°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#A6BD22
RGBrgb(166, 189, 34)
HSLhsl(69, 70%, 44%)
HSVhsv(69, 82%, 74%)
CMYKcmyk(12.2%, 0%, 82%, 25.9%)
CIE-LABlab(72.64, -26.39, 67.95)
CIE-LCHlch(72.64, 72.89, 111.23°)
OKLaboklab(75.51% -0.0797 0.1474)
OKLCHoklch(75.51% 0.168 118.4)
XYZxyz(34.2130, 44.6180, 8.3228)
Luminance0.4462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BD22 #3922BD
analogous
#BD8622 #A6BD22 #58BD22
triadic
#A6BD22 #22A6BD #BD22A6
tetradic
#A6BD22 #22BD86 #3922BD #BD2258
square
#A6BD22 #22BD86 #3922BD #BD2258
split-complementary
#A6BD22 #2258BD #8622BD
monochromatic
#4B550F #788919 #A6BD22 #C5DD40 #D5E673

Accessibility & contrast

On white

2.12
#A6BD22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#A6BD22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BD22
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BD22#FFFFFF#000000##000000
##A6BD221.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#C8B333
Tritanopia (blue-blind)
#B0B2A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a6bd22;
/* rgb */ color: rgb(166, 189, 34);
/* oklch */ color: oklch(75.5% 0.168 118.4);
Tailwind
colors: {
  custom: {
    50: '#c4d06d',
    500: '#a6bd22',
    950: '#000000',
  },
}
SCSS
$custom: #a6bd22;
$custom-light: #c4d06d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bd22",
  "rgb": {
    "r": 166,
    "g": 189,
    "b": 34
  },
  "hsl": {
    "h": 68.903,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.75514,
    "c": 0.16756,
    "h": 118.4
  },
  "luminance": 0.44618
}

Semantic roles & 50–950 ramp

primary
#A6BD22
secondary
#7C6ECD
accent
#3BEC56
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A6BD22

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

Preview Lab → · Contrast checker → · Palette generator →

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