#6B9221#6B9221

#6B9221 is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 60.9% C 0.144 H 127.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6B9221
RGBrgb(107, 146, 33)
HSLhsl(81, 63%, 35%)
HSVhsv(81, 77%, 57%)
CMYKcmyk(26.7%, 0%, 77.4%, 42.7%)
CIE-LABlab(55.88, -30.25, 51.58)
CIE-LCHlch(55.88, 59.79, 120.39°)
OKLaboklab(60.94% -0.0871 0.1143)
OKLCHoklch(60.94% 0.144 127.3)
XYZxyz(16.6168, 23.7930, 5.1556)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9221 #482192
analogous
#928021 #6B9221 #339221
triadic
#6B9221 #216B92 #92216B
tetradic
#6B9221 #219280 #482192 #922133
square
#6B9221 #219280 #482192 #922133
split-complementary
#6B9221 #213392 #802192
monochromatic
#222E0A #466016 #6B9221 #90C42C #ABD955

Accessibility & contrast

On white

3.65
#6B9221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#6B9221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9221
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9221#FFFFFF#000000##000000
##6B92211.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8805
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#6F8B7D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6b9221;
/* rgb */ color: rgb(107, 146, 33);
/* oklch */ color: oklch(60.9% 0.144 127.3);
Tailwind
colors: {
  custom: {
    50: '#99b266',
    500: '#6b9221',
    950: '#000000',
  },
}
SCSS
$custom: #6b9221;
$custom-light: #99b266;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9221",
  "rgb": {
    "r": 107,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 80.708,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60942,
    "c": 0.1437,
    "h": 127.3
  },
  "luminance": 0.23793
}

Semantic roles & 50–950 ramp

primary
#6B9221
secondary
#7753BC
accent
#42E67A
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B9221

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

Preview Lab → · Contrast checker → · Palette generator →

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