#338A29#338A29

#338A29 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.157 H 141.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#338A29
RGBrgb(51, 138, 41)
HSLhsl(114, 54%, 35%)
HSVhsv(114, 70%, 54%)
CMYKcmyk(63%, 0%, 70.3%, 45.9%)
CIE-LABlab(50.73, -45.07, 42.49)
CIE-LCHlch(50.73, 61.94, 136.69°)
OKLaboklab(56.04% -0.123 0.0974)
OKLCHoklch(56.04% 0.157 141.6)
XYZxyz(10.8534, 19.0398, 5.2005)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338A29 #80298A
analogous
#648A29 #338A29 #298A4F
triadic
#338A29 #29338A #8A2933
tetradic
#338A29 #29648A #80298A #8A4F29
square
#338A29 #29648A #80298A #8A4F29
split-complementary
#338A29 #4F298A #8A2964
monochromatic
#102C0D #225B1B #338A29 #44B937 #6ACF5E

Accessibility & contrast

On white

4.37
#338A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#338A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338A29
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338A29#FFFFFF#000000##000000
##338A291.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1B
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#258676
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #338a29;
/* rgb */ color: rgb(51, 138, 41);
/* oklch */ color: oklch(56.0% 0.157 141.6);
Tailwind
colors: {
  custom: {
    50: '#76ad68',
    500: '#338a29',
    950: '#000000',
  },
}
SCSS
$custom: #338a29;
$custom-light: #76ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#338a29",
  "rgb": {
    "r": 51,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 113.814,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56035,
    "c": 0.15685,
    "h": 141.6
  },
  "luminance": 0.19041
}

Semantic roles & 50–950 ramp

primary
#338A29
secondary
#AB5AB5
accent
#4ADECE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338A29

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

Preview Lab → · Contrast checker → · Palette generator →

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