#A6B22D#A6B22D

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

Color values

HEX#A6B22D
RGBrgb(166, 178, 45)
HSLhsl(65, 60%, 44%)
HSVhsv(65, 75%, 70%)
CMYKcmyk(6.7%, 0%, 74.7%, 30.2%)
CIE-LABlab(69.57, -20.55, 61.93)
CIE-LCHlch(69.57, 65.25, 108.36°)
OKLaboklab(73.06% -0.0628 0.1364)
OKLCHoklch(73.06% 0.15 114.7)
XYZxyz(32.1209, 40.1378, 8.5374)
Luminance0.4014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B22D #392DB2
analogous
#B27B2D #A6B22D #63B22D
triadic
#A6B22D #2DA6B2 #B22DA6
tetradic
#A6B22D #2DB27B #392DB2 #B22D63
square
#A6B22D #2DB27B #392DB2 #B22D63
split-complementary
#A6B22D #2D63B2 #7B2DB2
monochromatic
#4B5014 #788121 #A6B22D #C5D14B #D5DE7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B22D#FFFFFF#000000##000000
##A6B22D1.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)
#BFA90F
Deuteranopia (green-blind)
#BEAB38
Tritanopia (blue-blind)
#B1A799
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a6b22d;
/* rgb */ color: rgb(166, 178, 45);
/* oklch */ color: oklch(73.1% 0.150 114.7);
Tailwind
colors: {
  custom: {
    50: '#c4c870',
    500: '#a6b22d',
    950: '#000000',
  },
}
SCSS
$custom: #a6b22d;
$custom-light: #c4c870;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b22d",
  "rgb": {
    "r": 166,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 65.414,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73061,
    "c": 0.15022,
    "h": 114.7
  },
  "luminance": 0.40137
}

Semantic roles & 50–950 ramp

primary
#A6B22D
secondary
#7C75C6
accent
#45E353
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B22D

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

Preview Lab → · Contrast checker → · Palette generator →

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