#6D8A25#6D8A25

#6D8A25 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.1% C 0.130 H 124.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6D8A25
RGBrgb(109, 138, 37)
HSLhsl(77, 58%, 34%)
HSVhsv(77, 73%, 54%)
CMYKcmyk(21%, 0%, 73.2%, 45.9%)
CIE-LABlab(53.56, -25.31, 47.91)
CIE-LCHlch(53.56, 54.19, 117.85°)
OKLaboklab(59.1% -0.0734 0.1072)
OKLCHoklch(59.1% 0.13 124.4)
XYZxyz(15.7292, 21.5616, 5.0830)
Luminance0.2156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8A25 #42258A
analogous
#8A7525 #6D8A25 #3B8A25
triadic
#6D8A25 #256D8A #8A256D
tetradic
#6D8A25 #258A75 #42258A #8A253B
square
#6D8A25 #258A75 #42258A #8A253B
split-complementary
#6D8A25 #253B8A #75258A
monochromatic
#21290B #475A18 #6D8A25 #93BA32 #AFD257

Accessibility & contrast

On white

3.95
#6D8A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#6D8A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8A25
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8A25#FFFFFF#000000##000000
##6D8A251.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928113
Deuteranopia (green-blind)
#8E802E
Tritanopia (blue-blind)
#728376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6d8a25;
/* rgb */ color: rgb(109, 138, 37);
/* oklch */ color: oklch(59.1% 0.130 124.4);
Tailwind
colors: {
  custom: {
    50: '#9aac67',
    500: '#6d8a25',
    950: '#000000',
  },
}
SCSS
$custom: #6d8a25;
$custom-light: #9aac67;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8a25",
  "rgb": {
    "r": 109,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 77.228,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59103,
    "c": 0.12993,
    "h": 124.4
  },
  "luminance": 0.21562
}

Semantic roles & 50–950 ramp

primary
#6D8A25
secondary
#7054B7
accent
#47E173
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6D8A25

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

Preview Lab → · Contrast checker → · Palette generator →

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