#6D8519#6D8519

#6D8519 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#6D8519
RGBrgb(109, 133, 25)
HSLhsl(73, 68%, 31%)
HSVhsv(73, 81%, 52%)
CMYKcmyk(18%, 0%, 81.2%, 47.8%)
CIE-LABlab(51.95, -23.45, 50.58)
CIE-LCHlch(51.95, 55.75, 114.88°)
OKLaboklab(57.78% -0.0693 0.1108)
OKLCHoklch(57.78% 0.131 122)
XYZxyz(14.8699, 20.0964, 4.0151)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8519 #311985
analogous
#856719 #6D8519 #378519
triadic
#6D8519 #196D85 #85196D
tetradic
#6D8519 #198567 #311985 #851937
square
#6D8519 #198567 #311985 #851937
split-complementary
#6D8519 #193785 #671985
monochromatic
#191E06 #43510F #6D8519 #97B923 #B8DB3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D8519#FFFFFF#000000##000000
##6D85191.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)
#8A7C24
Tritanopia (blue-blind)
#737E71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6d8519;
/* rgb */ color: rgb(109, 133, 25);
/* oklch */ color: oklch(57.8% 0.131 122.0);
Tailwind
colors: {
  custom: {
    50: '#9aa860',
    500: '#6d8519',
    950: '#000000',
  },
}
SCSS
$custom: #6d8519;
$custom-light: #9aa860;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8519",
  "rgb": {
    "r": 109,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 73.333,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57777,
    "c": 0.13065,
    "h": 122
  },
  "luminance": 0.20096
}

Semantic roles & 50–950 ramp

primary
#6D8519
secondary
#5C41B9
accent
#3DEB63
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6D8519

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

Preview Lab → · Contrast checker → · Palette generator →

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