#6C8E1B#6C8E1B

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

Color values

HEX#6C8E1B
RGBrgb(108, 142, 27)
HSLhsl(78, 68%, 33%)
HSVhsv(78, 81%, 56%)
CMYKcmyk(23.9%, 0%, 81%, 44.3%)
CIE-LABlab(54.67, -28.22, 52.42)
CIE-LCHlch(54.67, 59.53, 118.30°)
OKLaboklab(59.97% -0.0821 0.1151)
OKLCHoklch(59.97% 0.141 125.5)
XYZxyz(16.0553, 22.6131, 4.5556)
Luminance0.2261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8E1B #3D1B8E
analogous
#8E761B #6C8E1B #338E1B
triadic
#6C8E1B #1B6C8E #8E1B6C
tetradic
#6C8E1B #1B8E76 #3D1B8E #8E1B33
square
#6C8E1B #1B8E76 #3D1B8E #8E1B33
split-complementary
#6C8E1B #1B338E #761B8E
monochromatic
#1E2707 #455B11 #6C8E1B #93C125 #B0DC47

Accessibility & contrast

On white

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

On black

5.52
#6C8E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8E1B
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8E1B#FFFFFF#000000##000000
##6C8E1B1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#928227
Tritanopia (blue-blind)
#718779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6c8e1b;
/* rgb */ color: rgb(108, 142, 27);
/* oklch */ color: oklch(60.0% 0.141 125.5);
Tailwind
colors: {
  custom: {
    50: '#9aaf62',
    500: '#6c8e1b',
    950: '#000000',
  },
}
SCSS
$custom: #6c8e1b;
$custom-light: #9aaf62;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8e1b",
  "rgb": {
    "r": 108,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 77.739,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59968,
    "c": 0.14132,
    "h": 125.5
  },
  "luminance": 0.22613
}

Semantic roles & 50–950 ramp

primary
#6C8E1B
secondary
#6A47BE
accent
#3DEB70
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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