#6D8014#6D8014

#6D8014 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.5% C 0.127 H 119.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6D8014
RGBrgb(109, 128, 20)
HSLhsl(71, 73%, 29%)
HSVhsv(71, 84%, 50%)
CMYKcmyk(14.8%, 0%, 84.4%, 49.8%)
CIE-LABlab(50.38, -21.12, 50.66)
CIE-LCHlch(50.38, 54.88, 112.63°)
OKLaboklab(56.51% -0.0632 0.1101)
OKLCHoklch(56.51% 0.127 119.9)
XYZxyz(14.1524, 18.7401, 3.5333)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8014 #271480
analogous
#805D14 #6D8014 #378014
triadic
#6D8014 #146D80 #80146D
tetradic
#6D8014 #14805D #271480 #801437
square
#6D8014 #14805D #271480 #801437
split-complementary
#6D8014 #143780 #5D1480
monochromatic
#171A04 #404B0C #6D8014 #9AB51C #C0DF30

Accessibility & contrast

On white

4.42
#6D8014 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#6D8014 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8014
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8014#FFFFFF#000000##000000
##6D80141.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#877820
Tritanopia (blue-blind)
#74796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6d8014;
/* rgb */ color: rgb(109, 128, 20);
/* oklch */ color: oklch(56.5% 0.127 119.9);
Tailwind
colors: {
  custom: {
    50: '#9aa45e',
    500: '#6d8014',
    950: '#000000',
  },
}
SCSS
$custom: #6d8014;
$custom-light: #9aa45e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8014",
  "rgb": {
    "r": 109,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 70.556,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.56507,
    "c": 0.12695,
    "h": 119.9
  },
  "luminance": 0.1874
}

Semantic roles & 50–950 ramp

primary
#6D8014
secondary
#503BB5
accent
#38F058
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D8014

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

Preview Lab → · Contrast checker → · Palette generator →

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