#338141#338141

#338141 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.9% C 0.124 H 147.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#338141
RGBrgb(51, 129, 65)
HSLhsl(131, 43%, 35%)
HSVhsv(131, 60%, 51%)
CMYKcmyk(60.5%, 0%, 49.6%, 49.4%)
CIE-LABlab(47.99, -38.45, 27.60)
CIE-LCHlch(47.99, 47.33, 144.32°)
OKLaboklab(53.86% -0.104 0.0672)
OKLCHoklch(53.86% 0.124 147.1)
XYZxyz(10.1690, 16.7850, 7.7040)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338141 #813373
analogous
#4C8133 #338141 #338168
triadic
#338141 #413381 #814133
tetradic
#338141 #334C81 #813373 #816833
square
#338141 #334C81 #813373 #816833
split-complementary
#338141 #683381 #81334C
monochromatic
#102915 #22552B #338141 #44AD57 #6AC47A

Accessibility & contrast

On white

4.82
#338141 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#338141 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338141
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338141#FFFFFF#000000##FFFFFF
##3381411.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83763C
Deuteranopia (green-blind)
#786F45
Tritanopia (blue-blind)
#217E72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #338141;
/* rgb */ color: rgb(51, 129, 65);
/* oklch */ color: oklch(53.9% 0.124 147.1);
Tailwind
colors: {
  custom: {
    50: '#73a677',
    500: '#338141',
    950: '#000000',
  },
}
SCSS
$custom: #338141;
$custom-light: #73a677;
$custom-dark: #000000;
JSON
{
  "hex": "#338141",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 65
  },
  "hsl": {
    "h": 130.769,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.53858,
    "c": 0.12381,
    "h": 147.1
  },
  "luminance": 0.16786
}

Semantic roles & 50–950 ramp

primary
#338141
secondary
#AC649F
accent
#55BCD3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #338141

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

Preview Lab → · Contrast checker → · Palette generator →

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