#338129#338129

#338129 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.145 H 141.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#338129
RGBrgb(51, 129, 41)
HSLhsl(113, 52%, 33%)
HSVhsv(113, 68%, 51%)
CMYKcmyk(60.5%, 0%, 68.2%, 49.4%)
CIE-LABlab(47.71, -41.62, 39.24)
CIE-LCHlch(47.71, 57.20, 136.68°)
OKLaboklab(53.53% -0.1136 0.0905)
OKLCHoklch(53.53% 0.145 141.5)
XYZxyz(9.6153, 16.5636, 4.7878)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338129 #772981
analogous
#5F8129 #338129 #29814B
triadic
#338129 #293381 #812933
tetradic
#338129 #295F81 #772981 #814B29
square
#338129 #295F81 #772981 #814B29
split-complementary
#338129 #4B2981 #81295F
monochromatic
#0E240B #21531A #338129 #45AF38 #67CB5A

Accessibility & contrast

On white

4.87
#338129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#338129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338129
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338129#FFFFFF#000000##FFFFFF
##3381291.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751E
Deuteranopia (green-blind)
#7A6F31
Tritanopia (blue-blind)
#287D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #338129;
/* rgb */ color: rgb(51, 129, 41);
/* oklch */ color: oklch(53.5% 0.145 141.5);
Tailwind
colors: {
  custom: {
    50: '#74a667',
    500: '#338129',
    950: '#000000',
  },
}
SCSS
$custom: #338129;
$custom-light: #74a667;
$custom-dark: #000000;
JSON
{
  "hex": "#338129",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 113.182,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53534,
    "c": 0.14527,
    "h": 141.5
  },
  "luminance": 0.16564
}

Semantic roles & 50–950 ramp

primary
#338129
secondary
#A656B0
accent
#4DDBCB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #338129

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

Preview Lab → · Contrast checker → · Palette generator →

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