#6D8A15#6D8A15

#6D8A15 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 59.0% C 0.139 H 123.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6D8A15
RGBrgb(109, 138, 21)
HSLhsl(75, 74%, 31%)
HSVhsv(75, 85%, 54%)
CMYKcmyk(21%, 0%, 84.8%, 45.9%)
CIE-LABlab(53.47, -26.10, 53.09)
CIE-LCHlch(53.47, 59.16, 116.18°)
OKLaboklab(59.01% -0.0768 0.1154)
OKLCHoklch(59.01% 0.139 123.6)
XYZxyz(15.5307, 21.4822, 4.0376)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8A15 #32158A
analogous
#8A6C15 #6D8A15 #328A15
triadic
#6D8A15 #156D8A #8A156D
tetradic
#6D8A15 #158A6C #32158A #8A1532
square
#6D8A15 #158A6C #32158A #8A1532
split-complementary
#6D8A15 #15328A #6C158A
monochromatic
#192005 #43550D #6D8A15 #97BF1D #B7E139

Accessibility & contrast

On white

3.96
#6D8A15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#6D8A15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8A15
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8A15#FFFFFF#000000##000000
##6D8A151.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8F8022
Tritanopia (blue-blind)
#738375
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6d8a15;
/* rgb */ color: rgb(109, 138, 21);
/* oklch */ color: oklch(59.0% 0.139 123.6);
Tailwind
colors: {
  custom: {
    50: '#9bac5f',
    500: '#6d8a15',
    950: '#000000',
  },
}
SCSS
$custom: #6d8a15;
$custom-light: #9bac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8a15",
  "rgb": {
    "r": 109,
    "g": 138,
    "b": 21
  },
  "hsl": {
    "h": 74.872,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59006,
    "c": 0.13863,
    "h": 123.6
  },
  "luminance": 0.21482
}

Semantic roles & 50–950 ramp

primary
#6D8A15
secondary
#5D3DBE
accent
#38F065
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E1005
muted
#7E7F79

Preview Lab

Preview with #6D8A15

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

Preview Lab → · Contrast checker → · Palette generator →

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