#6B8F1F#6B8F1F

#6B8F1F is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 60.2% C 0.141 H 126.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6B8F1F
RGBrgb(107, 143, 31)
HSLhsl(79, 64%, 34%)
HSVhsv(79, 78%, 56%)
CMYKcmyk(25.2%, 0%, 78.3%, 43.9%)
CIE-LABlab(54.94, -28.92, 51.36)
CIE-LCHlch(54.94, 58.94, 119.39°)
OKLaboklab(60.17% -0.0836 0.1135)
OKLCHoklch(60.17% 0.141 126.4)
XYZxyz(16.1333, 22.8694, 4.8603)
Luminance0.2287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8F1F #431F8F
analogous
#8F7B1F #6B8F1F #338F1F
triadic
#6B8F1F #1F6B8F #8F1F6B
tetradic
#6B8F1F #1F8F7B #431F8F #8F1F33
square
#6B8F1F #1F8F7B #431F8F #8F1F33
split-complementary
#6B8F1F #1F338F #7B1F8F
monochromatic
#202A09 #455D14 #6B8F1F #91C12A #ADD94F

Accessibility & contrast

On white

3.77
#6B8F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#6B8F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8F1F
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8F1F#FFFFFF#000000##000000
##6B8F1F1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978502
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#70887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6b8f1f;
/* rgb */ color: rgb(107, 143, 31);
/* oklch */ color: oklch(60.2% 0.141 126.4);
Tailwind
colors: {
  custom: {
    50: '#99b064',
    500: '#6b8f1f',
    950: '#000000',
  },
}
SCSS
$custom: #6b8f1f;
$custom-light: #99b064;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8f1f",
  "rgb": {
    "r": 107,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 79.286,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60174,
    "c": 0.141,
    "h": 126.4
  },
  "luminance": 0.2287
}

Semantic roles & 50–950 ramp

primary
#6B8F1F
secondary
#714EBC
accent
#40E776
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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