#6D802F#6D802F

#6D802F is a mid, moderate yellow-green. Relative luminance 0.189; OKLCH L 56.7% C 0.109 H 121.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6D802F
RGBrgb(109, 128, 47)
HSLhsl(74, 46%, 34%)
HSVhsv(74, 63%, 50%)
CMYKcmyk(14.8%, 0%, 63.3%, 49.8%)
CIE-LABlab(50.56, -19.51, 40.52)
CIE-LCHlch(50.56, 44.97, 115.71°)
OKLaboklab(56.71% -0.0563 0.0932)
OKLCHoklch(56.71% 0.109 121.1)
XYZxyz(14.5391, 18.8948, 5.5699)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D802F #422F80
analogous
#806B2F #6D802F #45802F
triadic
#6D802F #2F6D80 #802F6D
tetradic
#6D802F #2F806B #422F80 #802F45
square
#6D802F #2F806B #422F80 #802F45
split-complementary
#6D802F #2F4580 #6B2F80
monochromatic
#21260E #47531F #6D802F #93AD3F #AFC663

Accessibility & contrast

On white

4.39
#6D802F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#6D802F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D802F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D802F#FFFFFF#000000##000000
##6D802F1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887925
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#737A6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6d802f;
/* rgb */ color: rgb(109, 128, 47);
/* oklch */ color: oklch(56.7% 0.109 121.1);
Tailwind
colors: {
  custom: {
    50: '#99a46b',
    500: '#6d802f',
    950: '#000000',
  },
}
SCSS
$custom: #6d802f;
$custom-light: #99a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#6d802f",
  "rgb": {
    "r": 109,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 74.074,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56712,
    "c": 0.10889,
    "h": 121.1
  },
  "luminance": 0.18895
}

Semantic roles & 50–950 ramp

primary
#6D802F
secondary
#705EAD
accent
#52D671
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6D802F

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

Preview Lab → · Contrast checker → · Palette generator →

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