#6B8022#6B8022

#6B8022 is a mid, moderate yellow-green. Relative luminance 0.187; OKLCH L 56.4% C 0.120 H 121.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6B8022
RGBrgb(107, 128, 34)
HSLhsl(73, 58%, 32%)
HSVhsv(73, 73%, 50%)
CMYKcmyk(16.4%, 0%, 73.4%, 49.8%)
CIE-LABlab(50.31, -21.31, 45.81)
CIE-LCHlch(50.31, 50.53, 114.95°)
OKLaboklab(56.44% -0.0625 0.1024)
OKLCHoklch(56.44% 0.12 121.4)
XYZxyz(14.0715, 18.6796, 4.3773)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8022 #372280
analogous
#806622 #6B8022 #3C8022
triadic
#6B8022 #226B80 #80226B
tetradic
#6B8022 #228066 #372280 #80223C
square
#6B8022 #228066 #372280 #80223C
split-complementary
#6B8022 #223C80 #662280
monochromatic
#1A1F08 #435015 #6B8022 #93B02F #B2D04D

Accessibility & contrast

On white

4.43
#6B8022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#6B8022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8022
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8022#FFFFFF#000000##000000
##6B80221.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887812
Deuteranopia (green-blind)
#85782A
Tritanopia (blue-blind)
#71796E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6b8022;
/* rgb */ color: rgb(107, 128, 34);
/* oklch */ color: oklch(56.4% 0.120 121.4);
Tailwind
colors: {
  custom: {
    50: '#98a464',
    500: '#6b8022',
    950: '#000000',
  },
}
SCSS
$custom: #6b8022;
$custom-light: #98a464;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8022",
  "rgb": {
    "r": 107,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 73.404,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56436,
    "c": 0.11995,
    "h": 121.4
  },
  "luminance": 0.1868
}

Semantic roles & 50–950 ramp

primary
#6B8022
secondary
#624BB2
accent
#47E169
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6B8022

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

Preview Lab → · Contrast checker → · Palette generator →

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