#6D8117#6D8117

#6D8117 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.8% C 0.127 H 120.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#6D8117
RGBrgb(109, 129, 23)
HSLhsl(71, 70%, 30%)
HSVhsv(71, 82%, 51%)
CMYKcmyk(15.5%, 0%, 82.2%, 49.4%)
CIE-LABlab(50.70, -21.51, 50.07)
CIE-LCHlch(50.70, 54.49, 113.25°)
OKLaboklab(56.77% -0.0641 0.1094)
OKLCHoklch(56.77% 0.127 120.4)
XYZxyz(14.3119, 19.0136, 3.7265)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8117 #2B1781
analogous
#816017 #6D8117 #388117
triadic
#6D8117 #176D81 #81176D
tetradic
#6D8117 #178160 #2B1781 #811738
square
#6D8117 #178160 #2B1781 #811738
split-complementary
#6D8117 #173881 #601781
monochromatic
#161A05 #414D0E #6D8117 #99B520 #BCDB37

Accessibility & contrast

On white

4.37
#6D8117 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#6D8117 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8117
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8117#FFFFFF#000000##000000
##6D81171.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#747A6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6d8117;
/* rgb */ color: rgb(109, 129, 23);
/* oklch */ color: oklch(56.8% 0.127 120.4);
Tailwind
colors: {
  custom: {
    50: '#9aa55f',
    500: '#6d8117',
    950: '#000000',
  },
}
SCSS
$custom: #6d8117;
$custom-light: #9aa55f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8117",
  "rgb": {
    "r": 109,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 71.321,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5677,
    "c": 0.12676,
    "h": 120.4
  },
  "luminance": 0.19014
}

Semantic roles & 50–950 ramp

primary
#6D8117
secondary
#553EB5
accent
#3BED5D
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D8117

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

Preview Lab → · Contrast checker → · Palette generator →

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