#6C9D23#6C9D23

#6C9D23 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 63.8% C 0.156 H 129.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#6C9D23
RGBrgb(108, 157, 35)
HSLhsl(84, 64%, 38%)
HSVhsv(84, 78%, 62%)
CMYKcmyk(31.2%, 0%, 77.7%, 38.4%)
CIE-LABlab(59.36, -34.84, 54.23)
CIE-LCHlch(59.36, 64.46, 122.72°)
OKLaboklab(63.79% -0.0995 0.1202)
OKLCHoklch(63.79% 0.156 129.6)
XYZxyz(18.5446, 27.4229, 5.9059)
Luminance0.2742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C9D23 #54239D
analogous
#9D9123 #6C9D23 #2F9D23
triadic
#6C9D23 #236C9D #9D236C
tetradic
#6C9D23 #239D91 #54239D #9D232F
square
#6C9D23 #239D91 #54239D #9D232F
split-complementary
#6C9D23 #232F9D #91239D
monochromatic
#27390D #4A6B18 #6C9D23 #8ECF2E #A9DB5F

Accessibility & contrast

On white

3.24
#6C9D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#6C9D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C9D23
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C9D23#FFFFFF#000000##000000
##6C9D231.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59103
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#6F9686
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #6c9d23;
/* rgb */ color: rgb(108, 157, 35);
/* oklch */ color: oklch(63.8% 0.156 129.6);
Tailwind
colors: {
  custom: {
    50: '#9aba68',
    500: '#6c9d23',
    950: '#000000',
  },
}
SCSS
$custom: #6c9d23;
$custom-light: #9aba68;
$custom-dark: #000000;
JSON
{
  "hex": "#6c9d23",
  "rgb": {
    "r": 108,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 84.098,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63794,
    "c": 0.15601,
    "h": 129.6
  },
  "luminance": 0.27423
}

Semantic roles & 50–950 ramp

primary
#6C9D23
secondary
#845CC0
accent
#41E784
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1107
muted
#7E807A

Preview Lab

Preview with #6C9D23

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

Preview Lab → · Contrast checker → · Palette generator →

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