#338B35#338B35

#338B35 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.149 H 143.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#338B35
RGBrgb(51, 139, 53)
HSLhsl(121, 46%, 37%)
HSVhsv(121, 63%, 55%)
CMYKcmyk(63.3%, 0%, 61.9%, 45.5%)
CIE-LABlab(51.18, -44.15, 37.57)
CIE-LCHlch(51.18, 57.97, 139.61°)
OKLaboklab(56.44% -0.1198 0.0882)
OKLCHoklch(56.44% 0.149 143.6)
XYZxyz(11.2398, 19.4250, 6.5245)
Luminance0.1943 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B35 #8B3389
analogous
#5D8B33 #338B35 #338B61
triadic
#338B35 #35338B #8B3533
tetradic
#338B35 #335D8B #8B3389 #8B6133
square
#338B35 #335D8B #8B3389 #8B6133
split-complementary
#338B35 #61338B #8B335D
monochromatic
#123113 #235E24 #338B35 #43B846 #6ECA71

Accessibility & contrast

On white

4.30
#338B35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#338B35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B35
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B35#FFFFFF#000000##000000
##338B351.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E2C
Deuteranopia (green-blind)
#83773C
Tritanopia (blue-blind)
#218778
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #338b35;
/* rgb */ color: rgb(51, 139, 53);
/* oklch */ color: oklch(56.4% 0.149 143.6);
Tailwind
colors: {
  custom: {
    50: '#75ae6f',
    500: '#338b35',
    950: '#000000',
  },
}
SCSS
$custom: #338b35;
$custom-light: #75ae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#338b35",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 53
  },
  "hsl": {
    "h": 121.364,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.56441,
    "c": 0.14882,
    "h": 143.6
  },
  "luminance": 0.19426
}

Semantic roles & 50–950 ramp

primary
#338B35
secondary
#B268B0
accent
#52D3D6
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #338B35

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

Preview Lab → · Contrast checker → · Palette generator →

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