#338935#338935

#338935 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.146 H 143.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#338935
RGBrgb(51, 137, 53)
HSLhsl(121, 46%, 37%)
HSVhsv(121, 63%, 54%)
CMYKcmyk(62.8%, 0%, 61.3%, 46.3%)
CIE-LABlab(50.51, -43.38, 36.80)
CIE-LCHlch(50.51, 56.88, 139.69°)
OKLaboklab(55.89% -0.1177 0.0866)
OKLCHoklch(55.89% 0.146 143.7)
XYZxyz(10.9529, 18.8511, 6.4289)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338935 #893387
analogous
#5C8933 #338935 #338960
triadic
#338935 #353389 #893533
tetradic
#338935 #335C89 #893387 #896033
square
#338935 #335C89 #893387 #896033
split-complementary
#338935 #603389 #89335C
monochromatic
#123012 #225C24 #338935 #44B646 #6EC970

Accessibility & contrast

On white

4.40
#338935 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#338935 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338935
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338935#FFFFFF#000000##000000
##3389351.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2C
Deuteranopia (green-blind)
#81753C
Tritanopia (blue-blind)
#228577
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338935;
/* rgb */ color: rgb(51, 137, 53);
/* oklch */ color: oklch(55.9% 0.146 143.7);
Tailwind
colors: {
  custom: {
    50: '#75ac6f',
    500: '#338935',
    950: '#000000',
  },
}
SCSS
$custom: #338935;
$custom-light: #75ac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#338935",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 53
  },
  "hsl": {
    "h": 121.395,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.55889,
    "c": 0.14615,
    "h": 143.7
  },
  "luminance": 0.18852
}

Semantic roles & 50–950 ramp

primary
#338935
secondary
#B167AF
accent
#52D2D5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #338935

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

Preview Lab → · Contrast checker → · Palette generator →

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