#6C9417#6C9417

#6C9417 is a mid, vivid yellow-green. Relative luminance 0.244; OKLCH L 61.5% C 0.151 H 127.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6C9417
RGBrgb(108, 148, 23)
HSLhsl(79, 73%, 34%)
HSVhsv(79, 84%, 58%)
CMYKcmyk(27%, 0%, 84.5%, 42%)
CIE-LABlab(56.52, -31.25, 55.20)
CIE-LCHlch(56.52, 63.43, 119.51°)
OKLaboklab(61.46% -0.0905 0.1203)
OKLCHoklch(61.46% 0.151 127)
XYZxyz(16.9290, 24.4295, 4.6339)
Luminance0.2443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C9417 #3F1794
analogous
#947D17 #6C9417 #2D9417
triadic
#6C9417 #176C94 #94176C
tetradic
#6C9417 #17947D #3F1794 #94172D
square
#6C9417 #17947D #3F1794 #94172D
split-complementary
#6C9417 #172D94 #7D1794
monochromatic
#1F2A07 #455F0F #6C9417 #93C91F #AFE244

Accessibility & contrast

On white

3.57
#6C9417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#6C9417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C9417
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C9417#FFFFFF#000000##000000
##6C94171.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#978726
Tritanopia (blue-blind)
#718D7E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6c9417;
/* rgb */ color: rgb(108, 148, 23);
/* oklch */ color: oklch(61.5% 0.151 127.0);
Tailwind
colors: {
  custom: {
    50: '#9ab362',
    500: '#6c9417',
    950: '#000000',
  },
}
SCSS
$custom: #6c9417;
$custom-light: #9ab362;
$custom-dark: #000000;
JSON
{
  "hex": "#6c9417",
  "rgb": {
    "r": 108,
    "g": 148,
    "b": 23
  },
  "hsl": {
    "h": 79.2,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61459,
    "c": 0.15055,
    "h": 127
  },
  "luminance": 0.2443
}

Semantic roles & 50–950 ramp

primary
#6C9417
secondary
#6D44C3
accent
#38F073
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6C9417

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

Preview Lab → · Contrast checker → · Palette generator →

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