#6D8D25#6D8D25

#6D8D25 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.9% C 0.134 H 125.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6D8D25
RGBrgb(109, 141, 37)
HSLhsl(78, 58%, 35%)
HSVhsv(78, 74%, 55%)
CMYKcmyk(22.7%, 0%, 73.8%, 44.7%)
CIE-LABlab(54.48, -26.79, 48.83)
CIE-LCHlch(54.48, 55.70, 118.75°)
OKLaboklab(59.85% -0.0774 0.1092)
OKLCHoklch(59.85% 0.134 125.3)
XYZxyz(16.1656, 22.4343, 5.2285)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8D25 #45258D
analogous
#8D7925 #6D8D25 #398D25
triadic
#6D8D25 #256D8D #8D256D
tetradic
#6D8D25 #258D79 #45258D #8D2539
square
#6D8D25 #258D79 #45258D #8D2539
split-complementary
#6D8D25 #25398D #79258D
monochromatic
#222C0C #485D18 #6D8D25 #92BD32 #AED359

Accessibility & contrast

On white

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

On black

5.49
#6D8D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8D25
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8D25#FFFFFF#000000##000000
##6D8D251.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958312
Deuteranopia (green-blind)
#91822E
Tritanopia (blue-blind)
#728679
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6d8d25;
/* rgb */ color: rgb(109, 141, 37);
/* oklch */ color: oklch(59.9% 0.134 125.3);
Tailwind
colors: {
  custom: {
    50: '#9aae67',
    500: '#6d8d25',
    950: '#000000',
  },
}
SCSS
$custom: #6d8d25;
$custom-light: #9aae67;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8d25",
  "rgb": {
    "r": 109,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 78.462,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59852,
    "c": 0.13383,
    "h": 125.3
  },
  "luminance": 0.22435
}

Semantic roles & 50–950 ramp

primary
#6D8D25
secondary
#7456B8
accent
#46E276
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6D8D25

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

Preview Lab → · Contrast checker → · Palette generator →

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