#338041#338041

#338041 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.6% C 0.122 H 147.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#338041
RGBrgb(51, 128, 65)
HSLhsl(131, 43%, 35%)
HSVhsv(131, 60%, 50%)
CMYKcmyk(60.2%, 0%, 49.2%, 49.8%)
CIE-LABlab(47.65, -38.03, 27.18)
CIE-LCHlch(47.65, 46.74, 144.44°)
OKLaboklab(53.58% -0.1029 0.0662)
OKLCHoklch(53.58% 0.122 147.2)
XYZxyz(10.0379, 16.5229, 7.6603)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338041 #803372
analogous
#4B8033 #338041 #338067
triadic
#338041 #413380 #804133
tetradic
#338041 #334B80 #803372 #806733
square
#338041 #334B80 #803372 #806733
split-complementary
#338041 #673380 #80334B
monochromatic
#102815 #22542B #338041 #44AC57 #6AC47A

Accessibility & contrast

On white

4.88
#338041 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#338041 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338041
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338041#FFFFFF#000000##FFFFFF
##3380411.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82753C
Deuteranopia (green-blind)
#776E45
Tritanopia (blue-blind)
#217D71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #338041;
/* rgb */ color: rgb(51, 128, 65);
/* oklch */ color: oklch(53.6% 0.122 147.2);
Tailwind
colors: {
  custom: {
    50: '#73a577',
    500: '#338041',
    950: '#000000',
  },
}
SCSS
$custom: #338041;
$custom-light: #73a577;
$custom-dark: #000000;
JSON
{
  "hex": "#338041",
  "rgb": {
    "r": 51,
    "g": 128,
    "b": 65
  },
  "hsl": {
    "h": 130.909,
    "s": 43.017,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53583,
    "c": 0.12234,
    "h": 147.2
  },
  "luminance": 0.16524
}

Semantic roles & 50–950 ramp

primary
#338041
secondary
#AB639E
accent
#55BCD3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #338041

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

Preview Lab → · Contrast checker → · Palette generator →

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