#6C8D23#6C8D23

#6C8D23 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.8% C 0.136 H 125.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6C8D23
RGBrgb(108, 141, 35)
HSLhsl(79, 60%, 35%)
HSVhsv(79, 75%, 55%)
CMYKcmyk(23.4%, 0%, 75.2%, 44.7%)
CIE-LABlab(54.41, -27.32, 49.48)
CIE-LCHlch(54.41, 56.52, 118.91°)
OKLaboklab(59.77% -0.079 0.1102)
OKLCHoklch(59.77% 0.136 125.6)
XYZxyz(16.0127, 22.3590, 5.0619)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8D23 #44238D
analogous
#8D7923 #6C8D23 #378D23
triadic
#6C8D23 #236C8D #8D236C
tetradic
#6C8D23 #238D79 #44238D #8D2337
square
#6C8D23 #238D79 #44238D #8D2337
split-complementary
#6C8D23 #23378D #79238D
monochromatic
#212B0B #465C17 #6C8D23 #92BE2F #ADD555

Accessibility & contrast

On white

3.84
#6C8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#6C8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8D23
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8D23#FFFFFF#000000##000000
##6C8D231.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830E
Deuteranopia (green-blind)
#90822D
Tritanopia (blue-blind)
#718679
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6c8d23;
/* rgb */ color: rgb(108, 141, 35);
/* oklch */ color: oklch(59.8% 0.136 125.6);
Tailwind
colors: {
  custom: {
    50: '#99ae66',
    500: '#6c8d23',
    950: '#000000',
  },
}
SCSS
$custom: #6c8d23;
$custom-light: #99ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8d23",
  "rgb": {
    "r": 108,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 78.679,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59767,
    "c": 0.13559,
    "h": 125.6
  },
  "luminance": 0.22359
}

Semantic roles & 50–950 ramp

primary
#6C8D23
secondary
#7353B9
accent
#44E376
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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