#6D8617#6D8617

#6D8617 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 58.0% C 0.133 H 122.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6D8617
RGBrgb(109, 134, 23)
HSLhsl(74, 71%, 31%)
HSVhsv(74, 83%, 53%)
CMYKcmyk(18.7%, 0%, 82.8%, 47.5%)
CIE-LABlab(52.25, -24.04, 51.45)
CIE-LCHlch(52.25, 56.79, 115.04°)
OKLaboklab(58.02% -0.071 0.1123)
OKLCHoklch(58.02% 0.133 122.3)
XYZxyz(14.9867, 20.3632, 3.9514)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8617 #301786
analogous
#866717 #6D8617 #358617
triadic
#6D8617 #176D86 #86176D
tetradic
#6D8617 #178667 #301786 #861735
square
#6D8617 #178667 #301786 #861735
split-complementary
#6D8617 #173586 #671786
monochromatic
#181E05 #43520E #6D8617 #97BA20 #B8DD3A

Accessibility & contrast

On white

4.14
#6D8617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#6D8617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8617
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8617#FFFFFF#000000##000000
##6D86171.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#737F72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6d8617;
/* rgb */ color: rgb(109, 134, 23);
/* oklch */ color: oklch(58.0% 0.133 122.3);
Tailwind
colors: {
  custom: {
    50: '#9aa960',
    500: '#6d8617',
    950: '#000000',
  },
}
SCSS
$custom: #6d8617;
$custom-light: #9aa960;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8617",
  "rgb": {
    "r": 109,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 73.514,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58016,
    "c": 0.13286,
    "h": 122.3
  },
  "luminance": 0.20363
}

Semantic roles & 50–950 ramp

primary
#6D8617
secondary
#5B3FBA
accent
#3AED63
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D8617

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

Preview Lab → · Contrast checker → · Palette generator →

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