#6B8A18#6B8A18

#6B8A18 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.9% C 0.138 H 124.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6B8A18
RGBrgb(107, 138, 24)
HSLhsl(76, 70%, 32%)
HSVhsv(76, 83%, 54%)
CMYKcmyk(22.5%, 0%, 82.6%, 45.9%)
CIE-LABlab(53.35, -26.83, 52.09)
CIE-LCHlch(53.35, 58.60, 117.25°)
OKLaboklab(58.88% -0.0785 0.1139)
OKLCHoklch(58.88% 0.138 124.6)
XYZxyz(15.3169, 21.3685, 4.1816)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8A18 #37188A
analogous
#8A7018 #6B8A18 #328A18
triadic
#6B8A18 #186B8A #8A186B
tetradic
#6B8A18 #188A70 #37188A #8A1832
square
#6B8A18 #188A70 #37188A #8A1832
split-complementary
#6B8A18 #18328A #70188A
monochromatic
#1A2206 #43560F #6B8A18 #93BE21 #B2DE3F

Accessibility & contrast

On white

3.98
#6B8A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#6B8A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8A18
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8A18#FFFFFF#000000##000000
##6B8A181.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#708375
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6b8a18;
/* rgb */ color: rgb(107, 138, 24);
/* oklch */ color: oklch(58.9% 0.138 124.6);
Tailwind
colors: {
  custom: {
    50: '#99ac61',
    500: '#6b8a18',
    950: '#000000',
  },
}
SCSS
$custom: #6b8a18;
$custom-light: #99ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8a18",
  "rgb": {
    "r": 107,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 76.316,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58876,
    "c": 0.13829,
    "h": 124.6
  },
  "luminance": 0.21369
}

Semantic roles & 50–950 ramp

primary
#6B8A18
secondary
#6240BD
accent
#3BED6B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6B8A18

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

Preview Lab → · Contrast checker → · Palette generator →

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