#6D951F#6D951F

#6D951F is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 61.8% C 0.148 H 127.2°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6D951F
RGBrgb(109, 149, 31)
HSLhsl(80, 66%, 35%)
HSVhsv(80, 79%, 58%)
CMYKcmyk(26.8%, 0%, 79.2%, 41.6%)
CIE-LABlab(56.92, -30.96, 53.26)
CIE-LCHlch(56.92, 61.61, 120.17°)
OKLaboklab(61.82% -0.0893 0.1175)
OKLCHoklch(61.82% 0.148 127.2)
XYZxyz(17.3015, 24.8447, 5.1800)
Luminance0.2485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D951F #471F95
analogous
#95821F #6D951F #32951F
triadic
#6D951F #1F6D95 #951F6D
tetradic
#6D951F #1F9582 #471F95 #951F32
square
#6D951F #1F9582 #471F95 #951F32
split-complementary
#6D951F #1F3295 #821F95
monochromatic
#23300A #486214 #6D951F #92C82A #ADDB53

Accessibility & contrast

On white

3.52
#6D951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#6D951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D951F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D951F#FFFFFF#000000##000000
##6D951F1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#97882B
Tritanopia (blue-blind)
#718E7F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6d951f;
/* rgb */ color: rgb(109, 149, 31);
/* oklch */ color: oklch(61.8% 0.148 127.2);
Tailwind
colors: {
  custom: {
    50: '#9bb465',
    500: '#6d951f',
    950: '#000000',
  },
}
SCSS
$custom: #6d951f;
$custom-light: #9bb465;
$custom-dark: #000000;
JSON
{
  "hex": "#6d951f",
  "rgb": {
    "r": 109,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 80.339,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61819,
    "c": 0.14755,
    "h": 127.2
  },
  "luminance": 0.24845
}

Semantic roles & 50–950 ramp

primary
#6D951F
secondary
#7651BF
accent
#3FE979
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6D951F

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

Preview Lab → · Contrast checker → · Palette generator →

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