#6C8F38#6C8F38

#6C8F38 is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.5% C 0.122 H 128.1°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6C8F38
RGBrgb(108, 143, 56)
HSLhsl(84, 44%, 39%)
HSVhsv(84, 61%, 56%)
CMYKcmyk(24.5%, 0%, 60.8%, 43.9%)
CIE-LABlab(55.19, -26.71, 41.42)
CIE-LCHlch(55.19, 49.28, 122.82°)
OKLaboklab(60.46% -0.0754 0.0962)
OKLCHoklch(60.46% 0.122 128.1)
XYZxyz(16.7206, 23.1183, 7.3220)
Luminance0.2312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8F38 #5B388F
analogous
#8F8738 #6C8F38 #418F38
triadic
#6C8F38 #386C8F #8F386C
tetradic
#6C8F38 #388F87 #5B388F #8F3841
square
#6C8F38 #388F87 #5B388F #8F3841
split-complementary
#6C8F38 #38418F #87388F
monochromatic
#2A3716 #4B6327 #6C8F38 #8DB94B #A9CA77

Accessibility & contrast

On white

3.73
#6C8F38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#6C8F38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8F38
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8F38#FFFFFF#000000##000000
##6C8F381.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96862E
Deuteranopia (green-blind)
#91833E
Tritanopia (blue-blind)
#6F897C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6c8f38;
/* rgb */ color: rgb(108, 143, 56);
/* oklch */ color: oklch(60.5% 0.122 128.1);
Tailwind
colors: {
  custom: {
    50: '#98b072',
    500: '#6c8f38',
    950: '#000000',
  },
}
SCSS
$custom: #6c8f38;
$custom-light: #98b072;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8f38",
  "rgb": {
    "r": 108,
    "g": 143,
    "b": 56
  },
  "hsl": {
    "h": 84.138,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6046,
    "c": 0.12225,
    "h": 128.1
  },
  "luminance": 0.23119
}

Semantic roles & 50–950 ramp

primary
#6C8F38
secondary
#8B70B3
accent
#54D387
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0E1008
muted
#7E7F7B

Preview Lab

Preview with #6C8F38

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

Preview Lab → · Contrast checker → · Palette generator →

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