#6B8A16#6B8A16

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

Color values

HEX#6B8A16
RGBrgb(107, 138, 22)
HSLhsl(76, 73%, 31%)
HSVhsv(76, 84%, 54%)
CMYKcmyk(22.5%, 0%, 84.1%, 45.9%)
CIE-LABlab(53.34, -26.91, 52.65)
CIE-LCHlch(53.34, 59.13, 117.08°)
OKLaboklab(58.87% -0.0788 0.1147)
OKLCHoklch(58.87% 0.139 124.5)
XYZxyz(15.2969, 21.3605, 4.0760)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8A16 #35168A
analogous
#8A6F16 #6B8A16 #318A16
triadic
#6B8A16 #166B8A #8A166B
tetradic
#6B8A16 #168A6F #35168A #8A1631
square
#6B8A16 #168A6F #35168A #8A1631
split-complementary
#6B8A16 #16318A #6F168A
monochromatic
#192005 #42550E #6B8A16 #94BF1E #B4E03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B8A16#FFFFFF#000000##000000
##6B8A161.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)
#8E7F23
Tritanopia (blue-blind)
#718375
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6b8a16;
/* rgb */ color: rgb(107, 138, 22);
/* oklch */ color: oklch(58.9% 0.139 124.5);
Tailwind
colors: {
  custom: {
    50: '#99ac60',
    500: '#6b8a16',
    950: '#000000',
  },
}
SCSS
$custom: #6b8a16;
$custom-light: #99ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8a16",
  "rgb": {
    "r": 107,
    "g": 138,
    "b": 22
  },
  "hsl": {
    "h": 76.034,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58866,
    "c": 0.13918,
    "h": 124.5
  },
  "luminance": 0.21361
}

Semantic roles & 50–950 ramp

primary
#6B8A16
secondary
#603EBE
accent
#39EF69
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6B8A16

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

Preview Lab → · Contrast checker → · Palette generator →

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