#336830#336830

#336830 is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.6% C 0.103 H 142.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#336830
RGBrgb(51, 104, 48)
HSLhsl(117, 37%, 30%)
HSVhsv(117, 54%, 41%)
CMYKcmyk(51%, 0%, 53.8%, 59.2%)
CIE-LABlab(39.27, -30.18, 26.03)
CIE-LCHlch(39.27, 39.85, 139.22°)
OKLaboklab(46.62% -0.0822 0.0627)
OKLCHoklch(46.62% 0.103 142.7)
XYZxyz(6.8487, 10.8173, 4.5228)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336830 #653068
analogous
#4F6830 #336830 #306849
triadic
#336830 #303368 #683033
tetradic
#336830 #304F68 #653068 #684930
square
#336830 #304F68 #653068 #684930
split-complementary
#336830 #493068 #68304F
monochromatic
#0A150A #1E3E1D #336830 #489243 #62B55E

Accessibility & contrast

On white

6.64
#336830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#336830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336830
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336830#FFFFFF#000000##FFFFFF
##3368301.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F2B
Deuteranopia (green-blind)
#635B34
Tritanopia (blue-blind)
#2C655B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #336830;
/* rgb */ color: rgb(51, 104, 48);
/* oklch */ color: oklch(46.6% 0.103 142.7);
Tailwind
colors: {
  custom: {
    50: '#6f936a',
    500: '#336830',
    950: '#000000',
  },
}
SCSS
$custom: #336830;
$custom-light: #6f936a;
$custom-dark: #000000;
JSON
{
  "hex": "#336830",
  "rgb": {
    "r": 51,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 116.786,
    "s": 36.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.46622,
    "c": 0.10335,
    "h": 142.7
  },
  "luminance": 0.10818
}

Semantic roles & 50–950 ramp

primary
#336830
secondary
#965A99
accent
#5BCDC7
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #336830

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

Preview Lab → · Contrast checker → · Palette generator →

#336830 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva