#338732#338732

#338732 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.146 H 143.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#338732
RGBrgb(51, 135, 50)
HSLhsl(119, 46%, 36%)
HSVhsv(119, 63%, 53%)
CMYKcmyk(62.2%, 0%, 63%, 47.1%)
CIE-LABlab(49.81, -42.96, 37.43)
CIE-LCHlch(49.81, 56.98, 138.94°)
OKLaboklab(55.3% -0.1168 0.0877)
OKLCHoklch(55.3% 0.146 143.1)
XYZxyz(10.6043, 18.2610, 5.9829)
Luminance0.1826 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338732 #863287
analogous
#5E8732 #338732 #32875C
triadic
#338732 #323387 #873233
tetradic
#338732 #325E87 #863287 #875C32
square
#338732 #325E87 #863287 #875C32
split-complementary
#338732 #5C3287 #87325E
monochromatic
#112E11 #225A21 #338732 #44B443 #6CC86B

Accessibility & contrast

On white

4.51
#338732 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#338732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338732
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338732#FFFFFF#000000##000000
##3387321.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B29
Deuteranopia (green-blind)
#7F7439
Tritanopia (blue-blind)
#248375
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #338732;
/* rgb */ color: rgb(51, 135, 50);
/* oklch */ color: oklch(55.3% 0.146 143.1);
Tailwind
colors: {
  custom: {
    50: '#75ab6d',
    500: '#338732',
    950: '#000000',
  },
}
SCSS
$custom: #338732;
$custom-light: #75ab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#338732",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 50
  },
  "hsl": {
    "h": 119.294,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.553,
    "c": 0.14601,
    "h": 143.1
  },
  "luminance": 0.18262
}

Semantic roles & 50–950 ramp

primary
#338732
secondary
#AF65B0
accent
#52D6D4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #338732

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

Preview Lab → · Contrast checker → · Palette generator →

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