#338329#338329

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

Color values

HEX#338329
RGBrgb(51, 131, 41)
HSLhsl(113, 52%, 34%)
HSVhsv(113, 69%, 51%)
CMYKcmyk(61.1%, 0%, 68.7%, 48.6%)
CIE-LABlab(48.38, -42.40, 39.98)
CIE-LCHlch(48.38, 58.27, 136.68°)
OKLaboklab(54.09% -0.1157 0.0921)
OKLCHoklch(54.09% 0.148 141.5)
XYZxyz(9.8813, 17.0956, 4.8764)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338329 #792983
analogous
#608329 #338329 #29834C
triadic
#338329 #293383 #832933
tetradic
#338329 #296083 #792983 #834C29
square
#338329 #296083 #792983 #834C29
split-complementary
#338329 #4C2983 #832960
monochromatic
#0F260C #21541A #338329 #45B238 #67CC5B

Accessibility & contrast

On white

4.75
#338329 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#338329 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338329
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338329#FFFFFF#000000##FFFFFF
##3383291.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771D
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#277F71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338329;
/* rgb */ color: rgb(51, 131, 41);
/* oklch */ color: oklch(54.1% 0.148 141.5);
Tailwind
colors: {
  custom: {
    50: '#74a867',
    500: '#338329',
    950: '#000000',
  },
}
SCSS
$custom: #338329;
$custom-light: #74a867;
$custom-dark: #000000;
JSON
{
  "hex": "#338329",
  "rgb": {
    "r": 51,
    "g": 131,
    "b": 41
  },
  "hsl": {
    "h": 113.333,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54091,
    "c": 0.14789,
    "h": 141.5
  },
  "luminance": 0.17097
}

Semantic roles & 50–950 ramp

primary
#338329
secondary
#A757B1
accent
#4CDCCC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338329

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

Preview Lab → · Contrast checker → · Palette generator →

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