#6C951F#6C951F

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

Color values

HEX#6C951F
RGBrgb(108, 149, 31)
HSLhsl(81, 66%, 35%)
HSVhsv(81, 79%, 58%)
CMYKcmyk(27.5%, 0%, 79.2%, 41.6%)
CIE-LABlab(56.86, -31.36, 53.18)
CIE-LCHlch(56.86, 61.74, 120.53°)
OKLaboklab(61.75% -0.0903 0.1173)
OKLCHoklch(61.75% 0.148 127.6)
XYZxyz(17.1792, 24.7816, 5.1743)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C951F #481F95
analogous
#95831F #6C951F #31951F
triadic
#6C951F #1F6C95 #951F6C
tetradic
#6C951F #1F9583 #481F95 #951F31
square
#6C951F #1F9583 #481F95 #951F31
split-complementary
#6C951F #1F3195 #831F95
monochromatic
#23300A #476214 #6C951F #91C82A #ACDB53

Accessibility & contrast

On white

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

On black

5.96
#6C951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C951F
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C951F#FFFFFF#000000##000000
##6C951F1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c951f;
/* rgb */ color: rgb(108, 149, 31);
/* oklch */ color: oklch(61.8% 0.148 127.6);
Tailwind
colors: {
  custom: {
    50: '#9ab465',
    500: '#6c951f',
    950: '#000000',
  },
}
SCSS
$custom: #6c951f;
$custom-light: #9ab465;
$custom-dark: #000000;
JSON
{
  "hex": "#6c951f",
  "rgb": {
    "r": 108,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 80.847,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61753,
    "c": 0.14806,
    "h": 127.6
  },
  "luminance": 0.24782
}

Semantic roles & 50–950 ramp

primary
#6C951F
secondary
#7751BF
accent
#3FE97A
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6C951F

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

Preview Lab → · Contrast checker → · Palette generator →

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