#338241#338241

#338241 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.125 H 147.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#338241
RGBrgb(51, 130, 65)
HSLhsl(131, 44%, 35%)
HSVhsv(131, 61%, 51%)
CMYKcmyk(60.8%, 0%, 50%, 49%)
CIE-LABlab(48.32, -38.86, 28.02)
CIE-LCHlch(48.32, 47.91, 144.21°)
OKLaboklab(54.13% -0.1051 0.0681)
OKLCHoklch(54.13% 0.125 147.1)
XYZxyz(10.3013, 17.0498, 7.7481)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338241 #823374
analogous
#4C8233 #338241 #338268
triadic
#338241 #413382 #824133
tetradic
#338241 #334C82 #823374 #826833
square
#338241 #334C82 #823374 #826833
split-complementary
#338241 #683382 #82334C
monochromatic
#112A15 #22562B #338241 #44AE57 #6BC57B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338241#FFFFFF#000000##FFFFFF
##3382411.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)
#84773C
Deuteranopia (green-blind)
#797046
Tritanopia (blue-blind)
#217F73
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338241;
/* rgb */ color: rgb(51, 130, 65);
/* oklch */ color: oklch(54.1% 0.125 147.1);
Tailwind
colors: {
  custom: {
    50: '#73a777',
    500: '#338241',
    950: '#000000',
  },
}
SCSS
$custom: #338241;
$custom-light: #73a777;
$custom-dark: #000000;
JSON
{
  "hex": "#338241",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 65
  },
  "hsl": {
    "h": 130.633,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54134,
    "c": 0.12526,
    "h": 147.1
  },
  "luminance": 0.17051
}

Semantic roles & 50–950 ramp

primary
#338241
secondary
#AD64A0
accent
#54BDD3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #338241

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

Preview Lab → · Contrast checker → · Palette generator →

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