#6C7D18#6C7D18

#6C7D18 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#6C7D18
RGBrgb(108, 125, 24)
HSLhsl(70, 68%, 29%)
HSVhsv(70, 81%, 49%)
CMYKcmyk(13.6%, 0%, 80.8%, 51%)
CIE-LABlab(49.40, -19.85, 48.55)
CIE-LCHlch(49.40, 52.45, 112.23°)
OKLaboklab(55.7% -0.0594 0.1063)
OKLCHoklch(55.7% 0.122 119.2)
XYZxyz(13.6831, 17.9214, 3.6023)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7D18 #29187D
analogous
#7D5C18 #6C7D18 #3A7D18
triadic
#6C7D18 #186C7D #7D186C
tetradic
#6C7D18 #187D5C #29187D #7D183A
square
#6C7D18 #187D5C #29187D #7D183A
split-complementary
#6C7D18 #183A7D #5C187D
monochromatic
#161A05 #404A0E #6C7D18 #98B022 #BDD937

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C7D18#FFFFFF#000000##000000
##6C7D181.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)
#847622
Tritanopia (blue-blind)
#73766A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6c7d18;
/* rgb */ color: rgb(108, 125, 24);
/* oklch */ color: oklch(55.7% 0.122 119.2);
Tailwind
colors: {
  custom: {
    50: '#99a25f',
    500: '#6c7d18',
    950: '#000000',
  },
}
SCSS
$custom: #6c7d18;
$custom-light: #99a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7d18",
  "rgb": {
    "r": 108,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 70.099,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55703,
    "c": 0.12182,
    "h": 119.2
  },
  "luminance": 0.17921
}

Semantic roles & 50–950 ramp

primary
#6C7D18
secondary
#533FB2
accent
#3DEB5A
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6C7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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