#6D8D15#6D8D15

#6D8D15 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.8% C 0.142 H 124.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6D8D15
RGBrgb(109, 141, 21)
HSLhsl(76, 74%, 32%)
HSVhsv(76, 85%, 55%)
CMYKcmyk(22.7%, 0%, 85.1%, 44.7%)
CIE-LABlab(54.40, -27.57, 53.90)
CIE-LCHlch(54.40, 60.54, 117.09°)
OKLaboklab(59.76% -0.0807 0.1172)
OKLCHoklch(59.76% 0.142 124.6)
XYZxyz(15.9671, 22.3549, 4.1830)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8D15 #35158D
analogous
#8D7115 #6D8D15 #318D15
triadic
#6D8D15 #156D8D #8D156D
tetradic
#6D8D15 #158D71 #35158D #8D1531
square
#6D8D15 #158D71 #35158D #8D1531
split-complementary
#6D8D15 #15318D #71158D
monochromatic
#1B2205 #44580D #6D8D15 #96C21D #B5E23B

Accessibility & contrast

On white

3.84
#6D8D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#6D8D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8D15
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8D15#FFFFFF#000000##000000
##6D8D151.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d8d15;
/* rgb */ color: rgb(109, 141, 21);
/* oklch */ color: oklch(59.8% 0.142 124.6);
Tailwind
colors: {
  custom: {
    50: '#9bae60',
    500: '#6d8d15',
    950: '#000000',
  },
}
SCSS
$custom: #6d8d15;
$custom-light: #9bae60;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8d15",
  "rgb": {
    "r": 109,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 76,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.59758,
    "c": 0.14229,
    "h": 124.6
  },
  "luminance": 0.22355
}

Semantic roles & 50–950 ramp

primary
#6D8D15
secondary
#603DC1
accent
#37F169
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6D8D15

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

Preview Lab → · Contrast checker → · Palette generator →

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