#6C8E23#6C8E23

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

Color values

HEX#6C8E23
RGBrgb(108, 142, 35)
HSLhsl(79, 60%, 35%)
HSVhsv(79, 75%, 56%)
CMYKcmyk(23.9%, 0%, 75.4%, 44.3%)
CIE-LABlab(54.72, -27.81, 49.78)
CIE-LCHlch(54.72, 57.02, 119.19°)
OKLaboklab(60.02% -0.0803 0.1108)
OKLCHoklch(60.02% 0.137 125.9)
XYZxyz(16.1608, 22.6553, 5.1113)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8E23 #45238E
analogous
#8E7A23 #6C8E23 #378E23
triadic
#6C8E23 #236C8E #8E236C
tetradic
#6C8E23 #238E7A #45238E #8E2337
square
#6C8E23 #238E7A #45238E #8E2337
split-complementary
#6C8E23 #23378E #7A238E
monochromatic
#212C0B #475D17 #6C8E23 #91BF2F #ADD556

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C8E23#FFFFFF#000000##000000
##6C8E231.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)
#96840D
Deuteranopia (green-blind)
#91822D
Tritanopia (blue-blind)
#718779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6c8e23;
/* rgb */ color: rgb(108, 142, 35);
/* oklch */ color: oklch(60.0% 0.137 125.9);
Tailwind
colors: {
  custom: {
    50: '#99af66',
    500: '#6c8e23',
    950: '#000000',
  },
}
SCSS
$custom: #6c8e23;
$custom-light: #99af66;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8e23",
  "rgb": {
    "r": 108,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 79.065,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60018,
    "c": 0.13688,
    "h": 125.9
  },
  "luminance": 0.22655
}

Semantic roles & 50–950 ramp

primary
#6C8E23
secondary
#7453B9
accent
#44E477
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8E23

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

Preview Lab → · Contrast checker → · Palette generator →

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