#6C8F23#6C8F23

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

Color values

HEX#6C8F23
RGBrgb(108, 143, 35)
HSLhsl(79, 61%, 35%)
HSVhsv(79, 76%, 56%)
CMYKcmyk(24.5%, 0%, 75.5%, 43.9%)
CIE-LABlab(55.03, -28.29, 50.08)
CIE-LCHlch(55.03, 57.52, 119.47°)
OKLaboklab(60.27% -0.0816 0.1115)
OKLCHoklch(60.27% 0.138 126.2)
XYZxyz(16.3103, 22.9542, 5.1611)
Luminance0.2295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8F23 #46238F
analogous
#8F7C23 #6C8F23 #368F23
triadic
#6C8F23 #236C8F #8F236C
tetradic
#6C8F23 #238F7C #46238F #8F2336
square
#6C8F23 #238F7C #46238F #8F2336
split-complementary
#6C8F23 #23368F #7C238F
monochromatic
#222D0B #475E17 #6C8F23 #91C02F #ADD657

Accessibility & contrast

On white

3.76
#6C8F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#6C8F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8F23
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8F23#FFFFFF#000000##000000
##6C8F231.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850D
Deuteranopia (green-blind)
#92832D
Tritanopia (blue-blind)
#71887A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6c8f23;
/* rgb */ color: rgb(108, 143, 35);
/* oklch */ color: oklch(60.3% 0.138 126.2);
Tailwind
colors: {
  custom: {
    50: '#9ab066',
    500: '#6c8f23',
    950: '#000000',
  },
}
SCSS
$custom: #6c8f23;
$custom-light: #9ab066;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8f23",
  "rgb": {
    "r": 108,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 79.444,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60269,
    "c": 0.13816,
    "h": 126.2
  },
  "luminance": 0.22954
}

Semantic roles & 50–950 ramp

primary
#6C8F23
secondary
#7554BA
accent
#44E478
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C8F23

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

Preview Lab → · Contrast checker → · Palette generator →

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