#6C8E1F#6C8E1F

#6C8E1F is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 60.0% C 0.139 H 125.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6C8E1F
RGBrgb(108, 142, 31)
HSLhsl(78, 64%, 34%)
HSVhsv(78, 78%, 56%)
CMYKcmyk(23.9%, 0%, 78.2%, 44.3%)
CIE-LABlab(54.69, -28.03, 51.15)
CIE-LCHlch(54.69, 58.33, 118.72°)
OKLaboklab(59.99% -0.0812 0.1131)
OKLCHoklch(59.99% 0.139 125.7)
XYZxyz(16.1048, 22.6328, 4.8162)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8E1F #411F8E
analogous
#8E791F #6C8E1F #358E1F
triadic
#6C8E1F #1F6C8E #8E1F6C
tetradic
#6C8E1F #1F8E79 #411F8E #8E1F35
square
#6C8E1F #1F8E79 #411F8E #8E1F35
split-complementary
#6C8E1F #1F358E #791F8E
monochromatic
#202A09 #465C14 #6C8E1F #92C02A #AED94F

Accessibility & contrast

On white

3.80
#6C8E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#6C8E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8E1F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8E1F#FFFFFF#000000##000000
##6C8E1F1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968403
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#718779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6c8e1f;
/* rgb */ color: rgb(108, 142, 31);
/* oklch */ color: oklch(60.0% 0.139 125.7);
Tailwind
colors: {
  custom: {
    50: '#9aaf64',
    500: '#6c8e1f',
    950: '#000000',
  },
}
SCSS
$custom: #6c8e1f;
$custom-light: #9aaf64;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8e1f",
  "rgb": {
    "r": 108,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 78.378,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59992,
    "c": 0.13922,
    "h": 125.7
  },
  "luminance": 0.22633
}

Semantic roles & 50–950 ramp

primary
#6C8E1F
secondary
#6F4DBB
accent
#41E774
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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