#6BA22D#6BA22D

#6BA22D is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 65.1% C 0.157 H 131.5°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#6BA22D
RGBrgb(107, 162, 45)
HSLhsl(88, 57%, 41%)
HSVhsv(88, 72%, 64%)
CMYKcmyk(34%, 0%, 72.2%, 36.5%)
CIE-LABlab(60.92, -36.86, 52.18)
CIE-LCHlch(60.92, 63.89, 125.24°)
OKLaboklab(65.07% -0.1041 0.1175)
OKLCHoklch(65.07% 0.157 131.5)
XYZxyz(19.4572, 29.1552, 7.0845)
Luminance0.2916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA22D #642DA2
analogous
#A29E2D #6BA22D #30A22D
triadic
#6BA22D #2D6BA2 #A22D6B
tetradic
#6BA22D #2DA29E #642DA2 #A22D30
square
#6BA22D #2DA29E #642DA2 #A22D30
split-complementary
#6BA22D #2D30A2 #9E2DA2
monochromatic
#2C4212 #4B7220 #6BA22D #8ACA42 #A8D872

Accessibility & contrast

On white

3.07
#6BA22D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#6BA22D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6BA22D
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA22D#FFFFFF#000000##000000
##6BA22D1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99619
Deuteranopia (green-blind)
#A29238
Tritanopia (blue-blind)
#6D9B8B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #6ba22d;
/* rgb */ color: rgb(107, 162, 45);
/* oklch */ color: oklch(65.1% 0.157 131.5);
Tailwind
colors: {
  custom: {
    50: '#9abe6e',
    500: '#6ba22d',
    950: '#000000',
  },
}
SCSS
$custom: #6ba22d;
$custom-light: #9abe6e;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba22d",
  "rgb": {
    "r": 107,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 88.205,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65066,
    "c": 0.15697,
    "h": 131.5
  },
  "luminance": 0.29156
}

Semantic roles & 50–950 ramp

primary
#6BA22D
secondary
#936CBF
accent
#48E08F
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6BA22D

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

Preview Lab → · Contrast checker → · Palette generator →

#6BA22D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva