#335E27#335E27

#335E27 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.7% C 0.097 H 139.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#335E27
RGBrgb(51, 94, 39)
HSLhsl(107, 41%, 26%)
HSVhsv(107, 59%, 37%)
CMYKcmyk(45.7%, 0%, 58.5%, 63.1%)
CIE-LABlab(35.70, -26.77, 26.62)
CIE-LCHlch(35.70, 37.75, 135.15°)
OKLaboklab(43.66% -0.0734 0.0633)
OKLCHoklch(43.66% 0.097 139.2)
XYZxyz(5.7339, 8.8554, 3.3262)
Luminance0.0886 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E27 #52275E
analogous
#4E5E27 #335E27 #275E36
triadic
#335E27 #27335E #5E2733
tetradic
#335E27 #274E5E #52275E #5E3627
square
#335E27 #274E5E #52275E #5E3627
split-complementary
#335E27 #36275E #5E274E
monochromatic
#0C1609 #1C3315 #335E27 #4A8939 #62B44B

Accessibility & contrast

On white

7.58
#335E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#335E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335E27
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E27#FFFFFF#000000##FFFFFF
##335E271.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615622
Deuteranopia (green-blind)
#5B532B
Tritanopia (blue-blind)
#305B52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335e27;
/* rgb */ color: rgb(51, 94, 39);
/* oklch */ color: oklch(43.7% 0.097 139.2);
Tailwind
colors: {
  custom: {
    50: '#6e8c63',
    500: '#335e27',
    950: '#000000',
  },
}
SCSS
$custom: #335e27;
$custom-light: #6e8c63;
$custom-dark: #000000;
JSON
{
  "hex": "#335e27",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 39
  },
  "hsl": {
    "h": 106.909,
    "s": 41.353,
    "l": 26.078
  },
  "oklch": {
    "l": 0.43664,
    "c": 0.09691,
    "h": 139.2
  },
  "luminance": 0.08856
}

Semantic roles & 50–950 ramp

primary
#335E27
secondary
#835091
accent
#57D1B6
background
#F6F8F5
surface
#ECF0EA
border
#C7CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #335E27

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

Preview Lab → · Contrast checker → · Palette generator →

#335E27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva