#6B8E18#6B8E18

#6B8E18 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.9% C 0.143 H 125.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6B8E18
RGBrgb(107, 142, 24)
HSLhsl(78, 71%, 33%)
HSVhsv(78, 83%, 56%)
CMYKcmyk(24.6%, 0%, 83.1%, 44.3%)
CIE-LABlab(54.59, -28.77, 53.20)
CIE-LCHlch(54.59, 60.48, 118.40°)
OKLaboklab(59.88% -0.0837 0.1162)
OKLCHoklch(59.88% 0.143 125.8)
XYZxyz(15.9014, 22.5375, 4.3764)
Luminance0.2254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8E18 #3B188E
analogous
#8E7618 #6B8E18 #308E18
triadic
#6B8E18 #186B8E #8E186B
tetradic
#6B8E18 #188E76 #3B188E #8E1830
square
#6B8E18 #188E76 #3B188E #8E1830
split-complementary
#6B8E18 #18308E #76188E
monochromatic
#1C2506 #445A0F #6B8E18 #92C221 #B0DF41

Accessibility & contrast

On white

3.81
#6B8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#6B8E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8E18
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8E18#FFFFFF#000000##000000
##6B8E181.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b8e18;
/* rgb */ color: rgb(107, 142, 24);
/* oklch */ color: oklch(59.9% 0.143 125.8);
Tailwind
colors: {
  custom: {
    50: '#99af61',
    500: '#6b8e18',
    950: '#000000',
  },
}
SCSS
$custom: #6b8e18;
$custom-light: #99af61;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8e18",
  "rgb": {
    "r": 107,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 77.797,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59883,
    "c": 0.14324,
    "h": 125.8
  },
  "luminance": 0.22538
}

Semantic roles & 50–950 ramp

primary
#6B8E18
secondary
#6742C0
accent
#3AEE6F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6B8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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