#336923#336923

#336923 is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.7% C 0.117 H 139.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#336923
RGBrgb(51, 105, 35)
HSLhsl(106, 50%, 27%)
HSVhsv(106, 67%, 41%)
CMYKcmyk(51.4%, 0%, 66.7%, 58.8%)
CIE-LABlab(39.46, -32.30, 32.98)
CIE-LCHlch(39.46, 46.16, 134.40°)
OKLaboklab(46.73% -0.0887 0.0765)
OKLCHoklch(46.73% 0.117 139.2)
XYZxyz(6.7199, 10.9278, 3.3450)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336923 #592369
analogous
#566923 #336923 #236936
triadic
#336923 #233369 #692333
tetradic
#336923 #235669 #592369 #693623
square
#336923 #235669 #592369 #693623
split-complementary
#336923 #362369 #692356
monochromatic
#0B1708 #1D3B14 #336923 #499732 #62C145

Accessibility & contrast

On white

6.59
#336923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#336923 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336923
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336923#FFFFFF#000000##FFFFFF
##3369231.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C601B
Deuteranopia (green-blind)
#655B29
Tritanopia (blue-blind)
#2E655A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #336923;
/* rgb */ color: rgb(51, 105, 35);
/* oklch */ color: oklch(46.7% 0.117 139.2);
Tailwind
colors: {
  custom: {
    50: '#709461',
    500: '#336923',
    950: '#000000',
  },
}
SCSS
$custom: #336923;
$custom-light: #709461;
$custom-dark: #000000;
JSON
{
  "hex": "#336923",
  "rgb": {
    "r": 51,
    "g": 105,
    "b": 35
  },
  "hsl": {
    "h": 106.286,
    "s": 50,
    "l": 27.451
  },
  "oklch": {
    "l": 0.46725,
    "c": 0.11719,
    "h": 139.2
  },
  "luminance": 0.10928
}

Semantic roles & 50–950 ramp

primary
#336923
secondary
#8A4B9C
accent
#4EDABA
background
#F7F9F5
surface
#EDF1EA
border
#C8CBC6
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #336923

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

Preview Lab → · Contrast checker → · Palette generator →

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