#6B9822#6B9822

#6B9822 is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.5% C 0.151 H 128.8°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6B9822
RGBrgb(107, 152, 34)
HSLhsl(83, 63%, 36%)
HSVhsv(83, 78%, 60%)
CMYKcmyk(29.6%, 0%, 77.6%, 40.4%)
CIE-LABlab(57.75, -33.00, 53.01)
CIE-LCHlch(57.75, 62.44, 121.90°)
OKLaboklab(62.46% -0.0945 0.1175)
OKLCHoklch(62.46% 0.151 128.8)
XYZxyz(17.5804, 25.6973, 5.5469)
Luminance0.2570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9822 #4F2298
analogous
#988A22 #6B9822 #309822
triadic
#6B9822 #226B98 #98226B
tetradic
#6B9822 #22988A #4F2298 #982230
square
#6B9822 #22988A #4F2298 #982230
split-complementary
#6B9822 #223098 #8A2298
monochromatic
#25340C #486617 #6B9822 #8ECA2D #A9DA5A

Accessibility & contrast

On white

3.42
#6B9822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#6B9822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9822
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9822#FFFFFF#000000##000000
##6B98221.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D04
Deuteranopia (green-blind)
#998A2E
Tritanopia (blue-blind)
#6F9182
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6b9822;
/* rgb */ color: rgb(107, 152, 34);
/* oklch */ color: oklch(62.5% 0.151 128.8);
Tailwind
colors: {
  custom: {
    50: '#99b667',
    500: '#6b9822',
    950: '#000000',
  },
}
SCSS
$custom: #6b9822;
$custom-light: #99b667;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9822",
  "rgb": {
    "r": 107,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 82.881,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62463,
    "c": 0.15076,
    "h": 128.8
  },
  "luminance": 0.25698
}

Semantic roles & 50–950 ramp

primary
#6B9822
secondary
#7F57BE
accent
#41E680
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B9822

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

Preview Lab → · Contrast checker → · Palette generator →

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