#6B802C#6B802C

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

Color values

HEX#6B802C
RGBrgb(107, 128, 44)
HSLhsl(75, 49%, 34%)
HSVhsv(75, 66%, 50%)
CMYKcmyk(16.4%, 0%, 65.6%, 49.8%)
CIE-LABlab(50.39, -20.62, 41.67)
CIE-LCHlch(50.39, 46.49, 116.33°)
OKLaboklab(56.52% -0.0596 0.0952)
OKLCHoklch(56.52% 0.112 122)
XYZxyz(14.2374, 18.7460, 5.2507)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B802C #412C80
analogous
#806B2C #6B802C #41802C
triadic
#6B802C #2C6B80 #802C6B
tetradic
#6B802C #2C806B #412C80 #802C41
square
#6B802C #2C806B #412C80 #802C41
split-complementary
#6B802C #2C4180 #6B2C80
monochromatic
#1F250D #45521C #6B802C #91AE3C #AEC85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B802C#FFFFFF#000000##000000
##6B802C1.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)
#887821
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#707A6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6b802c;
/* rgb */ color: rgb(107, 128, 44);
/* oklch */ color: oklch(56.5% 0.112 122.0);
Tailwind
colors: {
  custom: {
    50: '#98a469',
    500: '#6b802c',
    950: '#000000',
  },
}
SCSS
$custom: #6b802c;
$custom-light: #98a469;
$custom-dark: #000000;
JSON
{
  "hex": "#6b802c",
  "rgb": {
    "r": 107,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 75,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56524,
    "c": 0.11235,
    "h": 122
  },
  "luminance": 0.18746
}

Semantic roles & 50–950 ramp

primary
#6B802C
secondary
#6F5AAE
accent
#4FD872
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6B802C

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

Preview Lab → · Contrast checker → · Palette generator →

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