#6B8322#6B8322

#6B8322 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.2% C 0.124 H 122.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#6B8322
RGBrgb(107, 131, 34)
HSLhsl(75, 59%, 32%)
HSVhsv(75, 74%, 51%)
CMYKcmyk(18.3%, 0%, 74%, 48.6%)
CIE-LABlab(51.24, -22.84, 46.73)
CIE-LCHlch(51.24, 52.01, 116.05°)
OKLaboklab(57.18% -0.0667 0.1043)
OKLCHoklch(57.18% 0.124 122.6)
XYZxyz(14.4686, 19.4738, 4.5096)
Luminance0.1947 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8322 #3A2283
analogous
#836A22 #6B8322 #3B8322
triadic
#6B8322 #226B83 #83226B
tetradic
#6B8322 #22836A #3A2283 #83223B
square
#6B8322 #22836A #3A2283 #83223B
split-complementary
#6B8322 #223B83 #6A2283
monochromatic
#1C2209 #435215 #6B8322 #93B42F #B1D14E

Accessibility & contrast

On white

4.29
#6B8322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#6B8322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8322
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8322#FFFFFF#000000##000000
##6B83221.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B10
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#717C70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6b8322;
/* rgb */ color: rgb(107, 131, 34);
/* oklch */ color: oklch(57.2% 0.124 122.6);
Tailwind
colors: {
  custom: {
    50: '#98a764',
    500: '#6b8322',
    950: '#000000',
  },
}
SCSS
$custom: #6b8322;
$custom-light: #98a764;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8322",
  "rgb": {
    "r": 107,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 74.845,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57184,
    "c": 0.12381,
    "h": 122.6
  },
  "luminance": 0.19474
}

Semantic roles & 50–950 ramp

primary
#6B8322
secondary
#664CB4
accent
#46E26C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6B8322

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

Preview Lab → · Contrast checker → · Palette generator →

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