#6D8915#6D8915

#6D8915 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.8% C 0.137 H 123.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6D8915
RGBrgb(109, 137, 21)
HSLhsl(74, 73%, 31%)
HSVhsv(74, 85%, 54%)
CMYKcmyk(20.4%, 0%, 84.7%, 46.3%)
CIE-LABlab(53.16, -25.61, 52.82)
CIE-LCHlch(53.16, 58.70, 115.87°)
OKLaboklab(58.76% -0.0754 0.1149)
OKLCHoklch(58.76% 0.137 123.3)
XYZxyz(15.3879, 21.1966, 3.9900)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8915 #311589
analogous
#896B15 #6D8915 #338915
triadic
#6D8915 #156D89 #89156D
tetradic
#6D8915 #15896B #311589 #891533
square
#6D8915 #15896B #311589 #891533
split-complementary
#6D8915 #153389 #6B1589
monochromatic
#191F05 #43540D #6D8915 #97BE1D #B8E038

Accessibility & contrast

On white

4.01
#6D8915 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#6D8915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8915
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8915#FFFFFF#000000##000000
##6D89151.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#8E7F22
Tritanopia (blue-blind)
#738274
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6d8915;
/* rgb */ color: rgb(109, 137, 21);
/* oklch */ color: oklch(58.8% 0.137 123.3);
Tailwind
colors: {
  custom: {
    50: '#9bab5f',
    500: '#6d8915',
    950: '#000000',
  },
}
SCSS
$custom: #6d8915;
$custom-light: #9bab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8915",
  "rgb": {
    "r": 109,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 74.483,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58756,
    "c": 0.13742,
    "h": 123.3
  },
  "luminance": 0.21197
}

Semantic roles & 50–950 ramp

primary
#6D8915
secondary
#5C3DBD
accent
#38F064
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E1005
muted
#7E7F79

Preview Lab

Preview with #6D8915

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

Preview Lab → · Contrast checker → · Palette generator →

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