#6B9722#6B9722

#6B9722 is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.2% C 0.149 H 128.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#6B9722
RGBrgb(107, 151, 34)
HSLhsl(83, 63%, 36%)
HSVhsv(83, 77%, 59%)
CMYKcmyk(29.1%, 0%, 77.5%, 40.8%)
CIE-LABlab(57.44, -32.54, 52.72)
CIE-LCHlch(57.44, 61.95, 121.68°)
OKLaboklab(62.21% -0.0932 0.1169)
OKLCHoklch(62.21% 0.15 128.6)
XYZxyz(17.4187, 25.3741, 5.4930)
Luminance0.2537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9722 #4E2297
analogous
#978922 #6B9722 #319722
triadic
#6B9722 #226B97 #97226B
tetradic
#6B9722 #229789 #4E2297 #972231
square
#6B9722 #229789 #4E2297 #972231
split-complementary
#6B9722 #223197 #892297
monochromatic
#24330C #486517 #6B9722 #8EC92D #AADA5A

Accessibility & contrast

On white

3.46
#6B9722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#6B9722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9722
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9722#FFFFFF#000000##000000
##6B97221.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C05
Deuteranopia (green-blind)
#99892E
Tritanopia (blue-blind)
#6F9081
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6b9722;
/* rgb */ color: rgb(107, 151, 34);
/* oklch */ color: oklch(62.2% 0.149 128.6);
Tailwind
colors: {
  custom: {
    50: '#99b667',
    500: '#6b9722',
    950: '#000000',
  },
}
SCSS
$custom: #6b9722;
$custom-light: #99b667;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9722",
  "rgb": {
    "r": 107,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 82.564,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6221,
    "c": 0.1495,
    "h": 128.6
  },
  "luminance": 0.25375
}

Semantic roles & 50–950 ramp

primary
#6B9722
secondary
#7E57BE
accent
#42E67F
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B9722

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

Preview Lab → · Contrast checker → · Palette generator →

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