#6B8D16#6B8D16

#6B8D16 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.6% C 0.143 H 125.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6B8D16
RGBrgb(107, 141, 22)
HSLhsl(77, 73%, 32%)
HSVhsv(77, 84%, 55%)
CMYKcmyk(24.1%, 0%, 84.4%, 44.7%)
CIE-LABlab(54.27, -28.37, 53.47)
CIE-LCHlch(54.27, 60.53, 117.95°)
OKLaboklab(59.62% -0.0827 0.1165)
OKLCHoklch(59.62% 0.143 125.4)
XYZxyz(15.7332, 22.2333, 4.2215)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8D16 #38168D
analogous
#8D7416 #6B8D16 #308D16
triadic
#6B8D16 #166B8D #8D166B
tetradic
#6B8D16 #168D74 #38168D #8D1630
square
#6B8D16 #168D74 #38168D #8D1630
split-complementary
#6B8D16 #16308D #74168D
monochromatic
#1B2305 #43580E #6B8D16 #93C21E #B2E13D

Accessibility & contrast

On white

3.86
#6B8D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#6B8D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8D16
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8D16#FFFFFF#000000##000000
##6B8D161.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#918124
Tritanopia (blue-blind)
#708678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6b8d16;
/* rgb */ color: rgb(107, 141, 22);
/* oklch */ color: oklch(59.6% 0.143 125.4);
Tailwind
colors: {
  custom: {
    50: '#99ae60',
    500: '#6b8d16',
    950: '#000000',
  },
}
SCSS
$custom: #6b8d16;
$custom-light: #99ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8d16",
  "rgb": {
    "r": 107,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 77.143,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59622,
    "c": 0.14288,
    "h": 125.4
  },
  "luminance": 0.22233
}

Semantic roles & 50–950 ramp

primary
#6B8D16
secondary
#633EC1
accent
#38F06D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6B8D16

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

Preview Lab → · Contrast checker → · Palette generator →

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