#6C8F28#6C8F28

#6C8F28 is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.3% C 0.135 H 126.5°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6C8F28
RGBrgb(108, 143, 40)
HSLhsl(80, 56%, 36%)
HSVhsv(80, 72%, 56%)
CMYKcmyk(24.5%, 0%, 72%, 43.9%)
CIE-LABlab(55.06, -27.98, 48.22)
CIE-LCHlch(55.06, 55.75, 120.12°)
OKLaboklab(60.31% -0.0803 0.1084)
OKLCHoklch(60.31% 0.135 126.5)
XYZxyz(16.3899, 22.9860, 5.5803)
Luminance0.2299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8F28 #4B288F
analogous
#8F7E28 #6C8F28 #398F28
triadic
#6C8F28 #286C8F #8F286C
tetradic
#6C8F28 #288F7E #4B288F #8F2839
square
#6C8F28 #288F7E #4B288F #8F2839
split-complementary
#6C8F28 #28398F #7E288F
monochromatic
#242F0D #485F1B #6C8F28 #90BF35 #ABD25F

Accessibility & contrast

On white

3.75
#6C8F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#6C8F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8F28
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8F28#FFFFFF#000000##000000
##6C8F281.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978517
Deuteranopia (green-blind)
#928331
Tritanopia (blue-blind)
#70887B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6c8f28;
/* rgb */ color: rgb(108, 143, 40);
/* oklch */ color: oklch(60.3% 0.135 126.5);
Tailwind
colors: {
  custom: {
    50: '#99b069',
    500: '#6c8f28',
    950: '#000000',
  },
}
SCSS
$custom: #6c8f28;
$custom-light: #99b069;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8f28",
  "rgb": {
    "r": 108,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 80.388,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60306,
    "c": 0.13493,
    "h": 126.5
  },
  "luminance": 0.22986
}

Semantic roles & 50–950 ramp

primary
#6C8F28
secondary
#7B5BB8
accent
#48E07C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C8F28

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

Preview Lab → · Contrast checker → · Palette generator →

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