#6C7D17#6C7D17

#6C7D17 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.7% C 0.122 H 119.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#6C7D17
RGBrgb(108, 125, 23)
HSLhsl(70, 69%, 29%)
HSVhsv(70, 82%, 49%)
CMYKcmyk(13.6%, 0%, 81.6%, 51%)
CIE-LABlab(49.40, -19.89, 48.87)
CIE-LCHlch(49.40, 52.76, 112.15°)
OKLaboklab(55.7% -0.0596 0.1068)
OKLCHoklch(55.7% 0.122 119.2)
XYZxyz(13.6729, 17.9173, 3.5485)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7D17 #28177D
analogous
#7D5B17 #6C7D17 #397D17
triadic
#6C7D17 #176C7D #7D176C
tetradic
#6C7D17 #177D5B #28177D #7D1739
square
#6C7D17 #177D5B #28177D #7D1739
split-complementary
#6C7D17 #17397D #5B177D
monochromatic
#161A05 #3F490D #6C7D17 #99B121 #BEDA35

Accessibility & contrast

On white

4.58
#6C7D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#6C7D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C7D17
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7D17#FFFFFF#000000##000000
##6C7D171.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#73766A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6c7d17;
/* rgb */ color: rgb(108, 125, 23);
/* oklch */ color: oklch(55.7% 0.122 119.2);
Tailwind
colors: {
  custom: {
    50: '#99a25e',
    500: '#6c7d17',
    950: '#000000',
  },
}
SCSS
$custom: #6c7d17;
$custom-light: #99a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7d17",
  "rgb": {
    "r": 108,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 70,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55697,
    "c": 0.12233,
    "h": 119.2
  },
  "luminance": 0.17917
}

Semantic roles & 50–950 ramp

primary
#6C7D17
secondary
#513EB2
accent
#3CEC59
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6C7D17

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

Preview Lab → · Contrast checker → · Palette generator →

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