#6D8518#6D8518

#6D8518 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.8% C 0.131 H 122.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#6D8518
RGBrgb(109, 133, 24)
HSLhsl(73, 69%, 31%)
HSVhsv(73, 82%, 52%)
CMYKcmyk(18%, 0%, 82%, 47.8%)
CIE-LABlab(51.94, -23.50, 50.88)
CIE-LCHlch(51.94, 56.04, 114.79°)
OKLaboklab(57.77% -0.0695 0.1112)
OKLCHoklch(57.77% 0.131 122)
XYZxyz(14.8593, 20.0922, 3.9593)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8518 #301885
analogous
#856618 #6D8518 #368518
triadic
#6D8518 #186D85 #85186D
tetradic
#6D8518 #188566 #301885 #851836
square
#6D8518 #188566 #301885 #851836
split-complementary
#6D8518 #183685 #661885
monochromatic
#181D05 #43510F #6D8518 #97B921 #B8DC3C

Accessibility & contrast

On white

4.18
#6D8518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#6D8518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8518
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8518#FFFFFF#000000##000000
##6D85181.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8A7C23
Tritanopia (blue-blind)
#737E71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6d8518;
/* rgb */ color: rgb(109, 133, 24);
/* oklch */ color: oklch(57.8% 0.131 122.0);
Tailwind
colors: {
  custom: {
    50: '#9aa860',
    500: '#6d8518',
    950: '#000000',
  },
}
SCSS
$custom: #6d8518;
$custom-light: #9aa860;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8518",
  "rgb": {
    "r": 109,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 73.211,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57771,
    "c": 0.13115,
    "h": 122
  },
  "luminance": 0.20092
}

Semantic roles & 50–950 ramp

primary
#6D8518
secondary
#5B40B9
accent
#3CEC62
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D8518

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

Preview Lab → · Contrast checker → · Palette generator →

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