#6B9921#6B9921

#6B9921 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 62.7% C 0.153 H 129.0°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#6B9921
RGBrgb(107, 153, 33)
HSLhsl(83, 65%, 36%)
HSVhsv(83, 78%, 60%)
CMYKcmyk(30.1%, 0%, 78.4%, 40%)
CIE-LABlab(58.05, -33.51, 53.63)
CIE-LCHlch(58.05, 63.24, 122.00°)
OKLaboklab(62.71% -0.0959 0.1186)
OKLCHoklch(62.71% 0.153 129)
XYZxyz(17.7291, 26.0176, 5.5264)
Luminance0.2602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9921 #4F2199
analogous
#998B21 #6B9921 #2F9921
triadic
#6B9921 #216B99 #99216B
tetradic
#6B9921 #21998B #4F2199 #99212F
square
#6B9921 #21998B #4F2199 #99212F
split-complementary
#6B9921 #212F99 #8B2199
monochromatic
#25340B #486716 #6B9921 #8ECB2C #A9DB59

Accessibility & contrast

On white

3.39
#6B9921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#6B9921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9921
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9921#FFFFFF#000000##000000
##6B99211.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#6E9283
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6b9921;
/* rgb */ color: rgb(107, 153, 33);
/* oklch */ color: oklch(62.7% 0.153 129.0);
Tailwind
colors: {
  custom: {
    50: '#9ab767',
    500: '#6b9921',
    950: '#000000',
  },
}
SCSS
$custom: #6b9921;
$custom-light: #9ab767;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9921",
  "rgb": {
    "r": 107,
    "g": 153,
    "b": 33
  },
  "hsl": {
    "h": 83,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62709,
    "c": 0.15256,
    "h": 129
  },
  "luminance": 0.26018
}

Semantic roles & 50–950 ramp

primary
#6B9921
secondary
#7F56BF
accent
#40E880
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B9921

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

Preview Lab → · Contrast checker → · Palette generator →

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