#6B8A25#6B8A25

#6B8A25 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 59.0% C 0.131 H 125.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6B8A25
RGBrgb(107, 138, 37)
HSLhsl(78, 58%, 34%)
HSVhsv(78, 73%, 54%)
CMYKcmyk(22.5%, 0%, 73.2%, 45.9%)
CIE-LABlab(53.42, -26.15, 47.74)
CIE-LCHlch(53.42, 54.43, 118.72°)
OKLaboklab(58.96% -0.0755 0.1069)
OKLCHoklch(58.96% 0.131 125.2)
XYZxyz(15.4859, 21.4361, 5.0716)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8A25 #44258A
analogous
#8A7725 #6B8A25 #398A25
triadic
#6B8A25 #256B8A #8A256B
tetradic
#6B8A25 #258A77 #44258A #8A2539
square
#6B8A25 #258A77 #44258A #8A2539
split-complementary
#6B8A25 #25398A #77258A
monochromatic
#20290B #465A18 #6B8A25 #90BA32 #ACD257

Accessibility & contrast

On white

3.97
#6B8A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#6B8A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8A25
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8A25#FFFFFF#000000##000000
##6B8A251.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b8a25;
/* rgb */ color: rgb(107, 138, 37);
/* oklch */ color: oklch(59.0% 0.131 125.2);
Tailwind
colors: {
  custom: {
    50: '#98ac67',
    500: '#6b8a25',
    950: '#000000',
  },
}
SCSS
$custom: #6b8a25;
$custom-light: #98ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8a25",
  "rgb": {
    "r": 107,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 78.416,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58958,
    "c": 0.13091,
    "h": 125.2
  },
  "luminance": 0.21436
}

Semantic roles & 50–950 ramp

primary
#6B8A25
secondary
#7254B7
accent
#47E176
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8A25

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

Preview Lab → · Contrast checker → · Palette generator →

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