#338333#338333

#338333 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.140 H 143.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#338333
RGBrgb(51, 131, 51)
HSLhsl(120, 44%, 36%)
HSVhsv(120, 61%, 51%)
CMYKcmyk(61.1%, 0%, 61.1%, 48.6%)
CIE-LABlab(48.48, -41.27, 35.42)
CIE-LCHlch(48.48, 54.39, 139.36°)
OKLaboklab(54.21% -0.1121 0.0834)
OKLCHoklch(54.21% 0.14 143.3)
XYZxyz(10.0785, 17.1745, 5.9152)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338333 #833383
analogous
#5B8333 #338333 #33835B
triadic
#338333 #333383 #833333
tetradic
#338333 #335B83 #833383 #835B33
square
#338333 #335B83 #833383 #835B33
split-complementary
#338333 #5B3383 #83335B
monochromatic
#112B11 #225722 #338333 #44AF44 #6BC56B

Accessibility & contrast

On white

4.74
#338333 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#338333 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338333
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338333#FFFFFF#000000##FFFFFF
##3383331.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86772B
Deuteranopia (green-blind)
#7C7039
Tritanopia (blue-blind)
#257F72
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338333;
/* rgb */ color: rgb(51, 131, 51);
/* oklch */ color: oklch(54.2% 0.140 143.3);
Tailwind
colors: {
  custom: {
    50: '#74a86d',
    500: '#338333',
    950: '#000000',
  },
}
SCSS
$custom: #338333;
$custom-light: #74a86d;
$custom-dark: #000000;
JSON
{
  "hex": "#338333",
  "rgb": {
    "r": 51,
    "g": 131,
    "b": 51
  },
  "hsl": {
    "h": 120,
    "s": 43.956,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54205,
    "c": 0.13976,
    "h": 143.3
  },
  "luminance": 0.17175
}

Semantic roles & 50–950 ramp

primary
#338333
secondary
#AD65AD
accent
#54D4D4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #338333

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

Preview Lab → · Contrast checker → · Palette generator →

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