#6B8422#6B8422

#6B8422 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.4% C 0.125 H 123.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#6B8422
RGBrgb(107, 132, 34)
HSLhsl(75, 59%, 33%)
HSVhsv(75, 74%, 52%)
CMYKcmyk(18.9%, 0%, 74.2%, 48.2%)
CIE-LABlab(51.55, -23.35, 47.03)
CIE-LCHlch(51.55, 52.51, 116.40°)
OKLaboklab(57.43% -0.0681 0.1049)
OKLCHoklch(57.43% 0.125 123)
XYZxyz(14.6036, 19.7438, 4.5546)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8422 #3B2284
analogous
#846C22 #6B8422 #3A8422
triadic
#6B8422 #226B84 #84226B
tetradic
#6B8422 #22846C #3B2284 #84223A
square
#6B8422 #22846C #3B2284 #84223A
split-complementary
#6B8422 #223A84 #6C2284
monochromatic
#1C2309 #445315 #6B8422 #92B52F #B0D24F

Accessibility & contrast

On white

4.24
#6B8422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#6B8422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8422
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8422#FFFFFF#000000##000000
##6B84221.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C10
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#717D71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6b8422;
/* rgb */ color: rgb(107, 132, 34);
/* oklch */ color: oklch(57.4% 0.125 123.0);
Tailwind
colors: {
  custom: {
    50: '#98a764',
    500: '#6b8422',
    950: '#000000',
  },
}
SCSS
$custom: #6b8422;
$custom-light: #98a764;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8422",
  "rgb": {
    "r": 107,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 75.306,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57434,
    "c": 0.12511,
    "h": 123
  },
  "luminance": 0.19744
}

Semantic roles & 50–950 ramp

primary
#6B8422
secondary
#674DB5
accent
#46E26E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6B8422

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

Preview Lab → · Contrast checker → · Palette generator →

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