#6D8F18#6D8F18

#6D8F18 is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.3% C 0.143 H 125.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#6D8F18
RGBrgb(109, 143, 24)
HSLhsl(77, 71%, 33%)
HSVhsv(77, 83%, 56%)
CMYKcmyk(23.8%, 0%, 83.2%, 43.9%)
CIE-LABlab(55.03, -28.42, 53.64)
CIE-LCHlch(55.03, 60.71, 117.91°)
OKLaboklab(60.27% -0.0829 0.1171)
OKLCHoklch(60.27% 0.143 125.3)
XYZxyz(16.2942, 22.9619, 4.4376)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8F18 #3A188F
analogous
#8F7518 #6D8F18 #318F18
triadic
#6D8F18 #186D8F #8F186D
tetradic
#6D8F18 #188F75 #3A188F #8F1831
square
#6D8F18 #188F75 #3A188F #8F1831
split-complementary
#6D8F18 #18318F #75188F
monochromatic
#1D2606 #455B0F #6D8F18 #95C321 #B2DF42

Accessibility & contrast

On white

3.76
#6D8F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#6D8F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8F18
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8F18#FFFFFF#000000##000000
##6D8F181.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#938325
Tritanopia (blue-blind)
#72887A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6d8f18;
/* rgb */ color: rgb(109, 143, 24);
/* oklch */ color: oklch(60.3% 0.143 125.3);
Tailwind
colors: {
  custom: {
    50: '#9bb061',
    500: '#6d8f18',
    950: '#000000',
  },
}
SCSS
$custom: #6d8f18;
$custom-light: #9bb061;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8f18",
  "rgb": {
    "r": 109,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 77.143,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60274,
    "c": 0.14347,
    "h": 125.3
  },
  "luminance": 0.22962
}

Semantic roles & 50–950 ramp

primary
#6D8F18
secondary
#6743C0
accent
#3AEE6D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6D8F18

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

Preview Lab → · Contrast checker → · Palette generator →

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