#6B9C2A#6B9C2A

#6B9C2A is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.5% C 0.151 H 130.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#6B9C2A
RGBrgb(107, 156, 42)
HSLhsl(86, 58%, 39%)
HSVhsv(86, 73%, 61%)
CMYKcmyk(31.4%, 0%, 73.1%, 38.8%)
CIE-LABlab(59.04, -34.36, 51.42)
CIE-LCHlch(59.04, 61.85, 123.75°)
OKLaboklab(63.53% -0.0975 0.1154)
OKLCHoklch(63.53% 0.151 130.2)
XYZxyz(18.3697, 27.0693, 6.4471)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9C2A #5B2A9C
analogous
#9C942A #6B9C2A #329C2A
triadic
#6B9C2A #2A6B9C #9C2A6B
tetradic
#6B9C2A #2A9C94 #5B2A9C #9C2A32
square
#6B9C2A #2A9C94 #5B2A9C #9C2A32
split-complementary
#6B9C2A #2A329C #942A9C
monochromatic
#293C10 #4A6C1D #6B9C2A #8CCA39 #A8D76A

Accessibility & contrast

On white

3.27
#6B9C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#6B9C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9C2A
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9C2A#FFFFFF#000000##000000
##6B9C2A1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39016
Deuteranopia (green-blind)
#9D8D35
Tritanopia (blue-blind)
#6E9586
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6b9c2a;
/* rgb */ color: rgb(107, 156, 42);
/* oklch */ color: oklch(63.5% 0.151 130.2);
Tailwind
colors: {
  custom: {
    50: '#99b96b',
    500: '#6b9c2a',
    950: '#000000',
  },
}
SCSS
$custom: #6b9c2a;
$custom-light: #99b96b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9c2a",
  "rgb": {
    "r": 107,
    "g": 156,
    "b": 42
  },
  "hsl": {
    "h": 85.789,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63528,
    "c": 0.15112,
    "h": 130.2
  },
  "luminance": 0.2707
}

Semantic roles & 50–950 ramp

primary
#6B9C2A
secondary
#8B65BD
accent
#47E189
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1107
muted
#7E807A

Preview Lab

Preview with #6B9C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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