#336438#336438

#336438 is a mid, moderate green. Relative luminance 0.101; OKLCH L 45.6% C 0.088 H 146.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#336438
RGBrgb(51, 100, 56)
HSLhsl(126, 32%, 30%)
HSVhsv(126, 49%, 39%)
CMYKcmyk(49%, 0%, 44%, 60.8%)
CIE-LABlab(38.03, -26.99, 19.94)
CIE-LCHlch(38.03, 33.56, 143.55°)
OKLaboklab(45.65% -0.0734 0.0492)
OKLCHoklch(45.65% 0.088 146.1)
XYZxyz(6.6359, 10.1032, 5.3411)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336438 #64335F
analogous
#476433 #336438 #336451
triadic
#336438 #383364 #643833
tetradic
#336438 #334764 #64335F #645133
square
#336438 #334764 #64335F #645133
split-complementary
#336438 #513364 #643347
monochromatic
#0A140B #1E3B21 #336438 #488D4F #62AF6A

Accessibility & contrast

On white

6.95
#336438 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#336438 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336438
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336438#FFFFFF#000000##FFFFFF
##3364381.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655C35
Deuteranopia (green-blind)
#5E583B
Tritanopia (blue-blind)
#2C6259
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #336438;
/* rgb */ color: rgb(51, 100, 56);
/* oklch */ color: oklch(45.6% 0.088 146.1);
Tailwind
colors: {
  custom: {
    50: '#6e906f',
    500: '#336438',
    950: '#000000',
  },
}
SCSS
$custom: #336438;
$custom-light: #6e906f;
$custom-dark: #000000;
JSON
{
  "hex": "#336438",
  "rgb": {
    "r": 51,
    "g": 100,
    "b": 56
  },
  "hsl": {
    "h": 126.122,
    "s": 32.45,
    "l": 29.608
  },
  "oklch": {
    "l": 0.45646,
    "c": 0.08834,
    "h": 146.1
  },
  "luminance": 0.10104
}

Semantic roles & 50–950 ramp

primary
#336438
secondary
#955E8F
accent
#5FBEC9
background
#F6F8F6
surface
#ECF0EC
border
#C7CBC7
text
#070C07
muted
#7A7D7A

Preview Lab

Preview with #336438

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

Preview Lab → · Contrast checker → · Palette generator →

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