#6C7F16#6C7F16

#6C7F16 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 56.2% C 0.125 H 120.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#6C7F16
RGBrgb(108, 127, 22)
HSLhsl(71, 70%, 29%)
HSVhsv(71, 83%, 50%)
CMYKcmyk(15%, 0%, 82.7%, 50.2%)
CIE-LABlab(50.01, -20.97, 49.72)
CIE-LCHlch(50.01, 53.96, 112.87°)
OKLaboklab(56.19% -0.0626 0.1085)
OKLCHoklch(56.19% 0.125 120)
XYZxyz(13.9188, 18.4249, 3.5820)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7F16 #29167F
analogous
#7F5E16 #6C7F16 #387F16
triadic
#6C7F16 #166C7F #7F166C
tetradic
#6C7F16 #167F5E #29167F #7F1638
square
#6C7F16 #167F5E #29167F #7F1638
split-complementary
#6C7F16 #16387F #5E167F
monochromatic
#161A05 #404B0D #6C7F16 #98B31F #BDDC34

Accessibility & contrast

On white

4.48
#6C7F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#6C7F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C7F16
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7F16#FFFFFF#000000##000000
##6C7F161.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#73786C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6c7f16;
/* rgb */ color: rgb(108, 127, 22);
/* oklch */ color: oklch(56.2% 0.125 120.0);
Tailwind
colors: {
  custom: {
    50: '#99a45e',
    500: '#6c7f16',
    950: '#000000',
  },
}
SCSS
$custom: #6c7f16;
$custom-light: #99a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7f16",
  "rgb": {
    "r": 108,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 70.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56189,
    "c": 0.12525,
    "h": 120
  },
  "luminance": 0.18425
}

Semantic roles & 50–950 ramp

primary
#6C7F16
secondary
#533DB4
accent
#3BED5B
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C7F16

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

Preview Lab → · Contrast checker → · Palette generator →

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