#6B9222#6B9222

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

Color values

HEX#6B9222
RGBrgb(107, 146, 34)
HSLhsl(81, 62%, 35%)
HSVhsv(81, 77%, 57%)
CMYKcmyk(26.7%, 0%, 76.7%, 42.7%)
CIE-LABlab(55.89, -30.19, 51.24)
CIE-LCHlch(55.89, 59.47, 120.51°)
OKLaboklab(60.95% -0.0868 0.1138)
OKLCHoklch(60.95% 0.143 127.4)
XYZxyz(16.6311, 23.7987, 5.2305)
Luminance0.2380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9222 #492292
analogous
#928122 #6B9222 #339222
triadic
#6B9222 #226B92 #92226B
tetradic
#6B9222 #229281 #492292 #922233
square
#6B9222 #229281 #492292 #922233
split-complementary
#6B9222 #223392 #812292
monochromatic
#222F0B #476016 #6B9222 #8FC42E #ABD857

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B9222#FFFFFF#000000##000000
##6B92221.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)
#9A8808
Deuteranopia (green-blind)
#94852D
Tritanopia (blue-blind)
#6F8B7D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6b9222;
/* rgb */ color: rgb(107, 146, 34);
/* oklch */ color: oklch(60.9% 0.143 127.4);
Tailwind
colors: {
  custom: {
    50: '#99b266',
    500: '#6b9222',
    950: '#000000',
  },
}
SCSS
$custom: #6b9222;
$custom-light: #99b266;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9222",
  "rgb": {
    "r": 107,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 80.893,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60949,
    "c": 0.14312,
    "h": 127.4
  },
  "luminance": 0.23799
}

Semantic roles & 50–950 ramp

primary
#6B9222
secondary
#7854BC
accent
#43E57B
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B9222

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

Preview Lab → · Contrast checker → · Palette generator →

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