#6B7E16#6B7E16

#6B7E16 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.9% C 0.124 H 120.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6B7E16
RGBrgb(107, 126, 22)
HSLhsl(71, 70%, 29%)
HSVhsv(71, 83%, 49%)
CMYKcmyk(15.1%, 0%, 82.5%, 50.6%)
CIE-LABlab(49.62, -20.90, 49.35)
CIE-LCHlch(49.62, 53.59, 112.95°)
OKLaboklab(55.86% -0.0624 0.1077)
OKLCHoklch(55.86% 0.124 120.1)
XYZxyz(13.6694, 18.1055, 3.5335)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7E16 #29167E
analogous
#7E5D16 #6B7E16 #377E16
triadic
#6B7E16 #166B7E #7E166B
tetradic
#6B7E16 #167E5D #29167E #7E1637
square
#6B7E16 #167E5D #29167E #7E1637
split-complementary
#6B7E16 #16377E #5D167E
monochromatic
#161A05 #3F4A0D #6B7E16 #97B21F #BDDB33

Accessibility & contrast

On white

4.54
#6B7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#6B7E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B7E16
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7E16#FFFFFF#000000##000000
##6B7E161.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#72776B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6b7e16;
/* rgb */ color: rgb(107, 126, 22);
/* oklch */ color: oklch(55.9% 0.124 120.1);
Tailwind
colors: {
  custom: {
    50: '#99a35e',
    500: '#6b7e16',
    950: '#000000',
  },
}
SCSS
$custom: #6b7e16;
$custom-light: #99a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7e16",
  "rgb": {
    "r": 107,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 70.962,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55861,
    "c": 0.12448,
    "h": 120.1
  },
  "luminance": 0.18105
}

Semantic roles & 50–950 ramp

primary
#6B7E16
secondary
#523DB3
accent
#3BED5B
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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