#6B8A31#6B8A31

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

Color values

HEX#6B8A31
RGBrgb(107, 138, 49)
HSLhsl(81, 48%, 37%)
HSVhsv(81, 64%, 54%)
CMYKcmyk(22.5%, 0%, 64.5%, 45.9%)
CIE-LABlab(53.52, -25.27, 42.78)
CIE-LCHlch(53.52, 49.69, 120.57°)
OKLaboklab(59.07% -0.072 0.0983)
OKLCHoklch(59.07% 0.122 126.2)
XYZxyz(15.7063, 21.5243, 6.2323)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8A31 #50318A
analogous
#8A7D31 #6B8A31 #3F8A31
triadic
#6B8A31 #316B8A #8A316B
tetradic
#6B8A31 #318A7D #50318A #8A313F
square
#6B8A31 #318A7D #50318A #8A313F
split-complementary
#6B8A31 #313F8A #7D318A
monochromatic
#253011 #485D21 #6B8A31 #8EB741 #A9CA6B

Accessibility & contrast

On white

3.96
#6B8A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B8A31#FFFFFF#000000##000000
##6B8A311.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#8D7F38
Tritanopia (blue-blind)
#6F8477
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6b8a31;
/* rgb */ color: rgb(107, 138, 49);
/* oklch */ color: oklch(59.1% 0.122 126.2);
Tailwind
colors: {
  custom: {
    50: '#98ac6d',
    500: '#6b8a31',
    950: '#000000',
  },
}
SCSS
$custom: #6b8a31;
$custom-light: #98ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8a31",
  "rgb": {
    "r": 107,
    "g": 138,
    "b": 49
  },
  "hsl": {
    "h": 80.899,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59066,
    "c": 0.12183,
    "h": 126.2
  },
  "luminance": 0.21525
}

Semantic roles & 50–950 ramp

primary
#6B8A31
secondary
#8065B2
accent
#51D77F
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6B8A31

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

Preview Lab → · Contrast checker → · Palette generator →

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