#6D8E18#6D8E18

#6D8E18 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.0% C 0.142 H 125.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6D8E18
RGBrgb(109, 142, 24)
HSLhsl(77, 71%, 33%)
HSVhsv(77, 83%, 56%)
CMYKcmyk(23.2%, 0%, 83.1%, 44.3%)
CIE-LABlab(54.72, -27.94, 53.37)
CIE-LCHlch(54.72, 60.24, 117.63°)
OKLaboklab(60.02% -0.0816 0.1165)
OKLCHoklch(60.02% 0.142 125)
XYZxyz(16.1447, 22.6630, 4.3878)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8E18 #39188E
analogous
#8E7418 #6D8E18 #328E18
triadic
#6D8E18 #186D8E #8E186D
tetradic
#6D8E18 #188E74 #39188E #8E1832
square
#6D8E18 #188E74 #39188E #8E1832
split-complementary
#6D8E18 #18328E #74188E
monochromatic
#1D2506 #455A0F #6D8E18 #95C221 #B3DF41

Accessibility & contrast

On white

3.80
#6D8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#6D8E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8E18
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8E18#FFFFFF#000000##000000
##6D8E181.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#928325
Tritanopia (blue-blind)
#728779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6d8e18;
/* rgb */ color: rgb(109, 142, 24);
/* oklch */ color: oklch(60.0% 0.142 125.0);
Tailwind
colors: {
  custom: {
    50: '#9baf61',
    500: '#6d8e18',
    950: '#000000',
  },
}
SCSS
$custom: #6d8e18;
$custom-light: #9baf61;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8e18",
  "rgb": {
    "r": 109,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 76.78,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60023,
    "c": 0.14224,
    "h": 125
  },
  "luminance": 0.22663
}

Semantic roles & 50–950 ramp

primary
#6D8E18
secondary
#6542C0
accent
#3AEE6C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6D8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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