#6B9A2C#6B9A2C

#6B9A2C is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 63.0% C 0.147 H 129.9°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6B9A2C
RGBrgb(107, 154, 44)
HSLhsl(86, 56%, 39%)
HSVhsv(86, 71%, 60%)
CMYKcmyk(30.5%, 0%, 71.4%, 39.6%)
CIE-LABlab(58.43, -33.31, 50.05)
CIE-LCHlch(58.43, 60.12, 123.64°)
OKLaboklab(63.04% -0.0945 0.1129)
OKLCHoklch(63.04% 0.147 129.9)
XYZxyz(18.0735, 26.4183, 6.5294)
Luminance0.2642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9A2C #5B2C9A
analogous
#9A922C #6B9A2C #349A2C
triadic
#6B9A2C #2C6B9A #9A2C6B
tetradic
#6B9A2C #2C9A92 #5B2C9A #9A2C34
square
#6B9A2C #2C9A92 #5B2C9A #9A2C34
split-complementary
#6B9A2C #2C349A #922C9A
monochromatic
#293B11 #4A6A1E #6B9A2C #8CC73C #A8D56C

Accessibility & contrast

On white

3.34
#6B9A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#6B9A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9A2C
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9A2C#FFFFFF#000000##000000
##6B9A2C1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F1A
Deuteranopia (green-blind)
#9B8B36
Tritanopia (blue-blind)
#6E9384
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6b9a2c;
/* rgb */ color: rgb(107, 154, 44);
/* oklch */ color: oklch(63.0% 0.147 129.9);
Tailwind
colors: {
  custom: {
    50: '#99b86c',
    500: '#6b9a2c',
    950: '#000000',
  },
}
SCSS
$custom: #6b9a2c;
$custom-light: #99b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9a2c",
  "rgb": {
    "r": 107,
    "g": 154,
    "b": 44
  },
  "hsl": {
    "h": 85.636,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63039,
    "c": 0.1472,
    "h": 129.9
  },
  "luminance": 0.26419
}

Semantic roles & 50–950 ramp

primary
#6B9A2C
secondary
#8B66BC
accent
#49DF89
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1107
muted
#7E807A

Preview Lab

Preview with #6B9A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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