#6C9518#6C9518

#6C9518 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.7% C 0.151 H 127.3°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6C9518
RGBrgb(108, 149, 24)
HSLhsl(80, 72%, 34%)
HSVhsv(80, 84%, 58%)
CMYKcmyk(27.5%, 0%, 83.9%, 41.6%)
CIE-LABlab(56.83, -31.67, 55.21)
CIE-LCHlch(56.83, 63.65, 119.84°)
OKLaboklab(61.72% -0.0916 0.1205)
OKLCHoklch(61.72% 0.151 127.3)
XYZxyz(17.0967, 24.7486, 4.7402)
Luminance0.2475 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C9518 #411895
analogous
#958018 #6C9518 #2E9518
triadic
#6C9518 #186C95 #95186C
tetradic
#6C9518 #189580 #411895 #95182E
square
#6C9518 #189580 #411895 #95182E
split-complementary
#6C9518 #182E95 #801895
monochromatic
#202C07 #466010 #6C9518 #92CA20 #AEE146

Accessibility & contrast

On white

3.53
#6C9518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#6C9518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C9518
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C9518#FFFFFF#000000##000000
##6C95181.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#978827
Tritanopia (blue-blind)
#718E7F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6c9518;
/* rgb */ color: rgb(108, 149, 24);
/* oklch */ color: oklch(61.7% 0.151 127.3);
Tailwind
colors: {
  custom: {
    50: '#9ab462',
    500: '#6c9518',
    950: '#000000',
  },
}
SCSS
$custom: #6c9518;
$custom-light: #9ab462;
$custom-dark: #000000;
JSON
{
  "hex": "#6c9518",
  "rgb": {
    "r": 108,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 79.68,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61716,
    "c": 0.15137,
    "h": 127.3
  },
  "luminance": 0.24749
}

Semantic roles & 50–950 ramp

primary
#6C9518
secondary
#6F46C2
accent
#39EF75
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6C9518

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

Preview Lab → · Contrast checker → · Palette generator →

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