#6B9520#6B9520

#6B9520 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.7% C 0.148 H 128.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6B9520
RGBrgb(107, 149, 32)
HSLhsl(82, 65%, 35%)
HSVhsv(82, 79%, 58%)
CMYKcmyk(28.2%, 0%, 78.5%, 41.6%)
CIE-LABlab(56.81, -31.71, 52.78)
CIE-LCHlch(56.81, 61.58, 121.00°)
OKLaboklab(61.69% -0.0911 0.1167)
OKLCHoklch(61.69% 0.148 128)
XYZxyz(17.0716, 24.7246, 5.2391)
Luminance0.2472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9520 #4A2095
analogous
#958420 #6B9520 #319520
triadic
#6B9520 #206B95 #95206B
tetradic
#6B9520 #209584 #4A2095 #952031
square
#6B9520 #209584 #4A2095 #952031
split-complementary
#6B9520 #203195 #842095
monochromatic
#23300A #476315 #6B9520 #8FC72B #ABDA55

Accessibility & contrast

On white

3.53
#6B9520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#6B9520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9520
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9520#FFFFFF#000000##000000
##6B95201.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A01
Deuteranopia (green-blind)
#97872C
Tritanopia (blue-blind)
#6F8E7F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6b9520;
/* rgb */ color: rgb(107, 149, 32);
/* oklch */ color: oklch(61.7% 0.148 128.0);
Tailwind
colors: {
  custom: {
    50: '#99b466',
    500: '#6b9520',
    950: '#000000',
  },
}
SCSS
$custom: #6b9520;
$custom-light: #99b466;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9520",
  "rgb": {
    "r": 107,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 81.538,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61693,
    "c": 0.14805,
    "h": 128
  },
  "luminance": 0.24725
}

Semantic roles & 50–950 ramp

primary
#6B9520
secondary
#7953BE
accent
#40E87C
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B9520

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

Preview Lab → · Contrast checker → · Palette generator →

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