#A6B22E#A6B22E

#A6B22E 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#A6B22E
RGBrgb(166, 178, 46)
HSLhsl(65, 59%, 44%)
HSVhsv(65, 74%, 70%)
CMYKcmyk(6.7%, 0%, 74.2%, 30.2%)
CIE-LABlab(69.57, -20.51, 61.60)
CIE-LCHlch(69.57, 64.92, 108.41°)
OKLaboklab(73.07% -0.0626 0.1359)
OKLCHoklch(73.07% 0.15 114.7)
XYZxyz(32.1403, 40.1456, 8.6400)
Luminance0.4014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B22E #3A2EB2
analogous
#B27C2E #A6B22E #64B22E
triadic
#A6B22E #2EA6B2 #B22EA6
tetradic
#A6B22E #2EB27C #3A2EB2 #B22E64
square
#A6B22E #2EB27C #3A2EB2 #B22E64
split-complementary
#A6B22E #2E64B2 #7C2EB2
monochromatic
#4B5115 #798121 #A6B22E #C5D14C #D5DD7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B22E#FFFFFF#000000##000000
##A6B22E1.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)
#BFA912
Deuteranopia (green-blind)
#BEAB39
Tritanopia (blue-blind)
#B1A799
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a6b22e;
/* rgb */ color: rgb(166, 178, 46);
/* oklch */ color: oklch(73.1% 0.150 114.7);
Tailwind
colors: {
  custom: {
    50: '#c4c871',
    500: '#a6b22e',
    950: '#000000',
  },
}
SCSS
$custom: #a6b22e;
$custom-light: #c4c871;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b22e",
  "rgb": {
    "r": 166,
    "g": 178,
    "b": 46
  },
  "hsl": {
    "h": 65.455,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73067,
    "c": 0.14965,
    "h": 114.7
  },
  "luminance": 0.40145
}

Semantic roles & 50–950 ramp

primary
#A6B22E
secondary
#7D76C6
accent
#46E254
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B22E

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

Preview Lab → · Contrast checker → · Palette generator →

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