#338933#338933

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

Color values

HEX#338933
RGBrgb(51, 137, 51)
HSLhsl(120, 46%, 37%)
HSVhsv(120, 63%, 54%)
CMYKcmyk(62.8%, 0%, 62.8%, 46.3%)
CIE-LABlab(50.49, -43.62, 37.73)
CIE-LCHlch(50.49, 57.68, 139.14°)
OKLaboklab(55.86% -0.1185 0.0884)
OKLCHoklch(55.86% 0.148 143.3)
XYZxyz(10.9078, 18.8331, 6.1917)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338933 #893389
analogous
#5E8933 #338933 #33895E
triadic
#338933 #333389 #893333
tetradic
#338933 #335E89 #893389 #895E33
square
#338933 #335E89 #893389 #895E33
split-complementary
#338933 #5E3389 #89335E
monochromatic
#123012 #225C22 #338933 #44B644 #6EC96E

Accessibility & contrast

On white

4.41
#338933 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##338933#FFFFFF#000000##000000
##3389331.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2A
Deuteranopia (green-blind)
#81753A
Tritanopia (blue-blind)
#238577
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338933;
/* rgb */ color: rgb(51, 137, 51);
/* oklch */ color: oklch(55.9% 0.148 143.3);
Tailwind
colors: {
  custom: {
    50: '#75ac6e',
    500: '#338933',
    950: '#000000',
  },
}
SCSS
$custom: #338933;
$custom-light: #75ac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#338933",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 51
  },
  "hsl": {
    "h": 120,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.55865,
    "c": 0.14783,
    "h": 143.3
  },
  "luminance": 0.18834
}

Semantic roles & 50–950 ramp

primary
#338933
secondary
#B167B1
accent
#52D5D5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #338933

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

Preview Lab → · Contrast checker → · Palette generator →

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