#6D8D1F#6D8D1F

#6D8D1F is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.8% C 0.137 H 125.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6D8D1F
RGBrgb(109, 141, 31)
HSLhsl(77, 64%, 34%)
HSVhsv(77, 78%, 55%)
CMYKcmyk(22.7%, 0%, 78%, 44.7%)
CIE-LABlab(54.45, -27.13, 50.95)
CIE-LCHlch(54.45, 57.72, 118.03°)
OKLaboklab(59.81% -0.0788 0.1126)
OKLCHoklch(59.81% 0.137 125)
XYZxyz(16.0790, 22.3997, 4.7725)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8D1F #3F1F8D
analogous
#8D761F #6D8D1F #368D1F
triadic
#6D8D1F #1F6D8D #8D1F6D
tetradic
#6D8D1F #1F8D76 #3F1F8D #8D1F36
square
#6D8D1F #1F8D76 #3F1F8D #8D1F36
split-complementary
#6D8D1F #1F368D #761F8D
monochromatic
#1F2909 #465B14 #6D8D1F #94BF2A #B0D84E

Accessibility & contrast

On white

3.83
#6D8D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#6D8D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8D1F
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8D1F#FFFFFF#000000##000000
##6D8D1F1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958303
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#728678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6d8d1f;
/* rgb */ color: rgb(109, 141, 31);
/* oklch */ color: oklch(59.8% 0.137 125.0);
Tailwind
colors: {
  custom: {
    50: '#9aae64',
    500: '#6d8d1f',
    950: '#000000',
  },
}
SCSS
$custom: #6d8d1f;
$custom-light: #9aae64;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8d1f",
  "rgb": {
    "r": 109,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 77.455,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59811,
    "c": 0.13746,
    "h": 125
  },
  "luminance": 0.224
}

Semantic roles & 50–950 ramp

primary
#6D8D1F
secondary
#6D4DBB
accent
#41E771
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6D8D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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