#6B8A24#6B8A24

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

Color values

HEX#6B8A24
RGBrgb(107, 138, 36)
HSLhsl(78, 59%, 34%)
HSVhsv(78, 74%, 54%)
CMYKcmyk(22.5%, 0%, 73.9%, 45.9%)
CIE-LABlab(53.42, -26.21, 48.11)
CIE-LCHlch(53.42, 54.79, 118.58°)
OKLaboklab(58.95% -0.0758 0.1075)
OKLCHoklch(58.95% 0.132 125.2)
XYZxyz(15.4704, 21.4299, 4.9901)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8A24 #43248A
analogous
#8A7624 #6B8A24 #388A24
triadic
#6B8A24 #246B8A #8A246B
tetradic
#6B8A24 #248A76 #43248A #8A2438
square
#6B8A24 #248A76 #43248A #8A2438
split-complementary
#6B8A24 #24388A #76248A
monochromatic
#20290B #455917 #6B8A24 #91BB31 #ADD356

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B8A24#FFFFFF#000000##000000
##6B8A241.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)
#928111
Deuteranopia (green-blind)
#8E7F2D
Tritanopia (blue-blind)
#708376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6b8a24;
/* rgb */ color: rgb(107, 138, 36);
/* oklch */ color: oklch(59.0% 0.132 125.2);
Tailwind
colors: {
  custom: {
    50: '#98ac66',
    500: '#6b8a24',
    950: '#000000',
  },
}
SCSS
$custom: #6b8a24;
$custom-light: #98ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8a24",
  "rgb": {
    "r": 107,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 78.235,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58951,
    "c": 0.13157,
    "h": 125.2
  },
  "luminance": 0.2143
}

Semantic roles & 50–950 ramp

primary
#6B8A24
secondary
#7153B7
accent
#46E275
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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