#6D8E16#6D8E16

#6D8E16 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.0% C 0.143 H 124.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6D8E16
RGBrgb(109, 142, 22)
HSLhsl(77, 73%, 32%)
HSVhsv(77, 85%, 56%)
CMYKcmyk(23.2%, 0%, 84.5%, 44.3%)
CIE-LABlab(54.72, -28.01, 53.91)
CIE-LCHlch(54.72, 60.75, 117.46°)
OKLaboklab(60.01% -0.0819 0.1174)
OKLCHoklch(60.01% 0.143 124.9)
XYZxyz(16.1247, 22.6549, 4.2822)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8E16 #37168E
analogous
#8E7316 #6D8E16 #318E16
triadic
#6D8E16 #166D8E #8E166D
tetradic
#6D8E16 #168E73 #37168E #8E1631
square
#6D8E16 #168E73 #37168E #8E1631
split-complementary
#6D8E16 #16318E #73168E
monochromatic
#1C2406 #44590E #6D8E16 #96C31E #B4E13D

Accessibility & contrast

On white

3.80
#6D8E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#6D8E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8E16
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8E16#FFFFFF#000000##000000
##6D8E161.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#928324
Tritanopia (blue-blind)
#728779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6d8e16;
/* rgb */ color: rgb(109, 142, 22);
/* oklch */ color: oklch(60.0% 0.143 124.9);
Tailwind
colors: {
  custom: {
    50: '#9baf60',
    500: '#6d8e16',
    950: '#000000',
  },
}
SCSS
$custom: #6d8e16;
$custom-light: #9baf60;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8e16",
  "rgb": {
    "r": 109,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 76.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60014,
    "c": 0.1431,
    "h": 124.9
  },
  "luminance": 0.22655
}

Semantic roles & 50–950 ramp

primary
#6D8E16
secondary
#633FC1
accent
#38F06B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6D8E16

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

Preview Lab → · Contrast checker → · Palette generator →

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