#338F29#338F29

#338F29 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.163 H 141.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#338F29
RGBrgb(51, 143, 41)
HSLhsl(114, 55%, 36%)
HSVhsv(114, 71%, 56%)
CMYKcmyk(64.3%, 0%, 71.3%, 43.9%)
CIE-LABlab(52.41, -46.93, 44.26)
CIE-LCHlch(52.41, 64.51, 136.68°)
OKLaboklab(57.42% -0.128 0.1011)
OKLCHoklch(57.42% 0.163 141.7)
XYZxyz(11.5873, 20.5077, 5.4451)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F29 #85298F
analogous
#668F29 #338F29 #298F52
triadic
#338F29 #29338F #8F2933
tetradic
#338F29 #29668F #85298F #8F5229
square
#338F29 #29668F #85298F #8F5229
split-complementary
#338F29 #52298F #8F2966
monochromatic
#11300E #225F1B #338F29 #44BF37 #6CD261

Accessibility & contrast

On white

4.12
#338F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#338F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F29
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F29#FFFFFF#000000##000000
##338F291.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938219
Deuteranopia (green-blind)
#877A33
Tritanopia (blue-blind)
#238B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338f29;
/* rgb */ color: rgb(51, 143, 41);
/* oklch */ color: oklch(57.4% 0.163 141.7);
Tailwind
colors: {
  custom: {
    50: '#77b169',
    500: '#338f29',
    950: '#000000',
  },
}
SCSS
$custom: #338f29;
$custom-light: #77b169;
$custom-dark: #000000;
JSON
{
  "hex": "#338f29",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 114.118,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57418,
    "c": 0.16309,
    "h": 141.7
  },
  "luminance": 0.20509
}

Semantic roles & 50–950 ramp

primary
#338F29
secondary
#AE5CB7
accent
#49DFD0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #338F29

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

Preview Lab → · Contrast checker → · Palette generator →

#338F29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva