#338744#338744

#338744 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.6% C 0.130 H 147.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#338744
RGBrgb(51, 135, 68)
HSLhsl(132, 45%, 36%)
HSVhsv(132, 62%, 53%)
CMYKcmyk(62.2%, 0%, 49.6%, 47.1%)
CIE-LABlab(50.03, -40.44, 28.56)
CIE-LCHlch(50.03, 49.51, 144.77°)
OKLaboklab(55.56% -0.1093 0.0695)
OKLCHoklch(55.56% 0.13 147.6)
XYZxyz(11.0718, 18.4480, 8.4451)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338744 #873376
analogous
#4C8733 #338744 #33876E
triadic
#338744 #443387 #874433
tetradic
#338744 #334C87 #873376 #876E33
square
#338744 #334C87 #873376 #876E33
split-complementary
#338744 #6E3387 #87334C
monochromatic
#112E17 #225B2E #338744 #44B35A #6DC87F

Accessibility & contrast

On white

4.48
#338744 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#338744 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338744
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338744#FFFFFF#000000##000000
##3387441.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3F
Deuteranopia (green-blind)
#7E7449
Tritanopia (blue-blind)
#1E8477
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338744;
/* rgb */ color: rgb(51, 135, 68);
/* oklch */ color: oklch(55.6% 0.130 147.6);
Tailwind
colors: {
  custom: {
    50: '#74ab79',
    500: '#338744',
    950: '#000000',
  },
}
SCSS
$custom: #338744;
$custom-light: #74ab79;
$custom-dark: #000000;
JSON
{
  "hex": "#338744",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 68
  },
  "hsl": {
    "h": 132.143,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55557,
    "c": 0.12952,
    "h": 147.6
  },
  "luminance": 0.18449
}

Semantic roles & 50–950 ramp

primary
#338744
secondary
#B066A1
accent
#53BBD5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338744

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

Preview Lab → · Contrast checker → · Palette generator →

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