#6D8819#6D8819

#6D8819 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.5% C 0.134 H 123.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6D8819
RGBrgb(109, 136, 25)
HSLhsl(75, 69%, 32%)
HSVhsv(75, 82%, 53%)
CMYKcmyk(19.9%, 0%, 81.6%, 46.7%)
CIE-LABlab(52.87, -24.95, 51.42)
CIE-LCHlch(52.87, 57.15, 115.89°)
OKLaboklab(58.53% -0.0734 0.1126)
OKLCHoklch(58.53% 0.134 123.1)
XYZxyz(15.2865, 20.9296, 4.1540)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8819 #341988
analogous
#886C19 #6D8819 #358819
triadic
#6D8819 #196D88 #88196D
tetradic
#6D8819 #19886C #341988 #881935
square
#6D8819 #19886C #341988 #881935
split-complementary
#6D8819 #193588 #6C1988
monochromatic
#1A2106 #44540F #6D8819 #96BC23 #B6DC40

Accessibility & contrast

On white

4.05
#6D8819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#6D8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8819
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8819#FFFFFF#000000##000000
##6D88191.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#738174
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6d8819;
/* rgb */ color: rgb(109, 136, 25);
/* oklch */ color: oklch(58.5% 0.134 123.1);
Tailwind
colors: {
  custom: {
    50: '#9aaa61',
    500: '#6d8819',
    950: '#000000',
  },
}
SCSS
$custom: #6d8819;
$custom-light: #9aaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8819",
  "rgb": {
    "r": 109,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 74.595,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58526,
    "c": 0.13436,
    "h": 123.1
  },
  "luminance": 0.2093
}

Semantic roles & 50–950 ramp

primary
#6D8819
secondary
#5F41BB
accent
#3CEC67
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6D8819

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

Preview Lab → · Contrast checker → · Palette generator →

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