#6B951F#6B951F

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

Color values

HEX#6B951F
RGBrgb(107, 149, 31)
HSLhsl(81, 66%, 35%)
HSVhsv(81, 79%, 58%)
CMYKcmyk(28.2%, 0%, 79.2%, 41.6%)
CIE-LABlab(56.80, -31.76, 53.10)
CIE-LCHlch(56.80, 61.88, 120.89°)
OKLaboklab(61.69% -0.0913 0.1172)
OKLCHoklch(61.69% 0.149 127.9)
XYZxyz(17.0582, 24.7192, 5.1686)
Luminance0.2472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B951F #491F95
analogous
#95841F #6B951F #30951F
triadic
#6B951F #1F6B95 #951F6B
tetradic
#6B951F #1F9584 #491F95 #951F30
square
#6B951F #1F9584 #491F95 #951F30
split-complementary
#6B951F #1F3095 #841F95
monochromatic
#22300A #476214 #6B951F #8FC82A #ABDB53

Accessibility & contrast

On white

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

On black

5.94
#6B951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B951F
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B951F#FFFFFF#000000##000000
##6B951F1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b951f;
/* rgb */ color: rgb(107, 149, 31);
/* oklch */ color: oklch(61.7% 0.149 127.9);
Tailwind
colors: {
  custom: {
    50: '#99b465',
    500: '#6b951f',
    950: '#000000',
  },
}
SCSS
$custom: #6b951f;
$custom-light: #99b465;
$custom-dark: #000000;
JSON
{
  "hex": "#6b951f",
  "rgb": {
    "r": 107,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 81.356,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61687,
    "c": 0.14858,
    "h": 127.9
  },
  "luminance": 0.2472
}

Semantic roles & 50–950 ramp

primary
#6B951F
secondary
#7851BF
accent
#3FE97C
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B951F

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

Preview Lab → · Contrast checker → · Palette generator →

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