#338E29#338E29

#338E29 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.162 H 141.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#338E29
RGBrgb(51, 142, 41)
HSLhsl(114, 55%, 36%)
HSVhsv(114, 71%, 56%)
CMYKcmyk(64.1%, 0%, 71.1%, 44.3%)
CIE-LABlab(52.07, -46.56, 43.91)
CIE-LCHlch(52.07, 64.00, 136.68°)
OKLaboklab(57.14% -0.127 0.1003)
OKLCHoklch(57.14% 0.162 141.7)
XYZxyz(11.4379, 20.2088, 5.3953)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E29 #84298E
analogous
#658E29 #338E29 #298E51
triadic
#338E29 #29338E #8E2933
tetradic
#338E29 #29658E #84298E #8E5129
square
#338E29 #29658E #84298E #8E5129
split-complementary
#338E29 #51298E #8E2965
monochromatic
#112F0E #225F1B #338E29 #44BD37 #6BD160

Accessibility & contrast

On white

4.17
#338E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#338E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E29
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E29#FFFFFF#000000##000000
##338E291.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811A
Deuteranopia (green-blind)
#867933
Tritanopia (blue-blind)
#238A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338e29;
/* rgb */ color: rgb(51, 142, 41);
/* oklch */ color: oklch(57.1% 0.162 141.7);
Tailwind
colors: {
  custom: {
    50: '#77b069',
    500: '#338e29',
    950: '#000000',
  },
}
SCSS
$custom: #338e29;
$custom-light: #77b069;
$custom-dark: #000000;
JSON
{
  "hex": "#338e29",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 41
  },
  "hsl": {
    "h": 114.059,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57142,
    "c": 0.16185,
    "h": 141.7
  },
  "luminance": 0.2021
}

Semantic roles & 50–950 ramp

primary
#338E29
secondary
#AE5CB7
accent
#49DFD0
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #338E29

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

Preview Lab → · Contrast checker → · Palette generator →

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