#6BAF22#6BAF22

#6BAF22 is a light, vivid yellow-green. Relative luminance 0.339; OKLCH L 68.3% C 0.179 H 132.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#6BAF22
RGBrgb(107, 175, 34)
HSLhsl(89, 67%, 41%)
HSVhsv(89, 81%, 69%)
CMYKcmyk(38.9%, 0%, 80.6%, 31.4%)
CIE-LABlab(64.88, -43.13, 59.66)
CIE-LCHlch(64.88, 73.62, 125.86°)
OKLaboklab(68.29% -0.1218 0.1315)
OKLCHoklch(68.29% 0.179 132.8)
XYZxyz(21.6818, 33.9002, 6.9140)
Luminance0.3390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BAF22 #6622AF
analogous
#AFAC22 #6BAF22 #25AF22
triadic
#6BAF22 #226BAF #AF226B
tetradic
#6BAF22 #22AFAC #6622AF #AF2225
square
#6BAF22 #22AFAC #6622AF #AF2225
split-complementary
#6BAF22 #2225AF #AC22AF
monochromatic
#2C490E #4C7C18 #6BAF22 #8AD836 #A8E269

Accessibility & contrast

On white

2.70
#6BAF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#6BAF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6BAF22
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BAF22#FFFFFF#000000##000000
##6BAF221.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#AD9C32
Tritanopia (blue-blind)
#6CA895
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #6baf22;
/* rgb */ color: rgb(107, 175, 34);
/* oklch */ color: oklch(68.3% 0.179 132.8);
Tailwind
colors: {
  custom: {
    50: '#9bc76a',
    500: '#6baf22',
    950: '#000000',
  },
}
SCSS
$custom: #6baf22;
$custom-light: #9bc76a;
$custom-dark: #000000;
JSON
{
  "hex": "#6baf22",
  "rgb": {
    "r": 107,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 88.936,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68285,
    "c": 0.17924,
    "h": 132.8
  },
  "luminance": 0.33901
}

Semantic roles & 50–950 ramp

primary
#6BAF22
secondary
#9565C8
accent
#3DEA91
background
#FAFCF6
surface
#F3F8EC
border
#CDD1C7
text
#0F1307
muted
#7F827A

Preview Lab

Preview with #6BAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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