#6B802D#6B802D

#6B802D is a mid, moderate yellow-green. Relative luminance 0.188; OKLCH L 56.5% C 0.111 H 122.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6B802D
RGBrgb(107, 128, 45)
HSLhsl(75, 48%, 34%)
HSVhsv(75, 65%, 50%)
CMYKcmyk(16.4%, 0%, 64.8%, 49.8%)
CIE-LABlab(50.40, -20.54, 41.22)
CIE-LCHlch(50.40, 46.05, 116.48°)
OKLaboklab(56.54% -0.0593 0.0944)
OKLCHoklch(56.54% 0.111 122.1)
XYZxyz(14.2564, 18.7536, 5.3509)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B802D #422D80
analogous
#806C2D #6B802D #42802D
triadic
#6B802D #2D6B80 #802D6B
tetradic
#6B802D #2D806C #422D80 #802D42
square
#6B802D #2D806C #422D80 #802D42
split-complementary
#6B802D #2D4280 #6C2D80
monochromatic
#1F250D #45531D #6B802D #91AD3D #ADC760

Accessibility & contrast

On white

4.42
#6B802D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#6B802D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B802D
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B802D#FFFFFF#000000##000000
##6B802D1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877823
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#707A6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6b802d;
/* rgb */ color: rgb(107, 128, 45);
/* oklch */ color: oklch(56.5% 0.111 122.1);
Tailwind
colors: {
  custom: {
    50: '#98a46a',
    500: '#6b802d',
    950: '#000000',
  },
}
SCSS
$custom: #6b802d;
$custom-light: #98a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b802d",
  "rgb": {
    "r": 107,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 75.181,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56535,
    "c": 0.11149,
    "h": 122.1
  },
  "luminance": 0.18754
}

Semantic roles & 50–950 ramp

primary
#6B802D
secondary
#705BAE
accent
#50D872
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6B802D

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

Preview Lab → · Contrast checker → · Palette generator →

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