#6D7E18#6D7E18

#6D7E18 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 56.0% C 0.123 H 119.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6D7E18
RGBrgb(109, 126, 24)
HSLhsl(70, 68%, 29%)
HSVhsv(70, 81%, 49%)
CMYKcmyk(13.5%, 0%, 81%, 50.6%)
CIE-LABlab(49.78, -19.92, 48.93)
CIE-LCHlch(49.78, 52.83, 112.15°)
OKLaboklab(56.03% -0.0597 0.1071)
OKLCHoklch(56.03% 0.123 119.1)
XYZxyz(13.9327, 18.2390, 3.6505)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7E18 #29187E
analogous
#7E5C18 #6D7E18 #3A7E18
triadic
#6D7E18 #186D7E #7E186D
tetradic
#6D7E18 #187E5C #29187E #7E183A
square
#6D7E18 #187E5C #29187E #7E183A
split-complementary
#6D7E18 #183A7E #5C187E
monochromatic
#161A05 #414B0E #6D7E18 #99B122 #BED937

Accessibility & contrast

On white

4.52
#6D7E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#6D7E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D7E18
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7E18#FFFFFF#000000##000000
##6D7E181.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#74776B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6d7e18;
/* rgb */ color: rgb(109, 126, 24);
/* oklch */ color: oklch(56.0% 0.123 119.1);
Tailwind
colors: {
  custom: {
    50: '#9aa35f',
    500: '#6d7e18',
    950: '#000000',
  },
}
SCSS
$custom: #6d7e18;
$custom-light: #9aa35f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7e18",
  "rgb": {
    "r": 109,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 70,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56032,
    "c": 0.12261,
    "h": 119.1
  },
  "luminance": 0.18239
}

Semantic roles & 50–950 ramp

primary
#6D7E18
secondary
#533FB2
accent
#3DEB5A
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D7E18

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

Preview Lab → · Contrast checker → · Palette generator →

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