#338155#338155

#338155 is a mid, moderate green. Relative luminance 0.171; OKLCH L 54.3% C 0.104 H 155.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#338155
RGBrgb(51, 129, 85)
HSLhsl(146, 43%, 35%)
HSVhsv(146, 60%, 51%)
CMYKcmyk(60.5%, 0%, 34.1%, 49.4%)
CIE-LABlab(48.33, -34.72, 16.90)
CIE-LCHlch(48.33, 38.62, 154.05°)
OKLaboklab(54.26% -0.0944 0.0426)
OKLCHoklch(54.26% 0.104 155.7)
XYZxyz(10.8543, 17.0592, 11.3133)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338155 #81335F
analogous
#388133 #338155 #33817C
triadic
#338155 #553381 #815533
tetradic
#338155 #333881 #81335F #817C33
square
#338155 #333881 #81335F #817C33
split-complementary
#338155 #7C3381 #813338
monochromatic
#10291B #225538 #338155 #44AD72 #6AC491

Accessibility & contrast

On white

4.76
#338155 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#338155 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338155
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338155#FFFFFF#000000##FFFFFF
##3381551.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807752
Deuteranopia (green-blind)
#767058
Tritanopia (blue-blind)
#178076
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338155;
/* rgb */ color: rgb(51, 129, 85);
/* oklch */ color: oklch(54.3% 0.104 155.7);
Tailwind
colors: {
  custom: {
    50: '#72a685',
    500: '#338155',
    950: '#000000',
  },
}
SCSS
$custom: #338155;
$custom-light: #72a685;
$custom-dark: #000000;
JSON
{
  "hex": "#338155",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 85
  },
  "hsl": {
    "h": 146.154,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54256,
    "c": 0.10362,
    "h": 155.7
  },
  "luminance": 0.1706
}

Semantic roles & 50–950 ramp

primary
#338155
secondary
#AC648D
accent
#559CD3
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #338155

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

Preview Lab → · Contrast checker → · Palette generator →

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