#338741#338741

#338741 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.5% C 0.132 H 146.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#338741
RGBrgb(51, 135, 65)
HSLhsl(130, 45%, 36%)
HSVhsv(130, 62%, 53%)
CMYKcmyk(62.2%, 0%, 51.9%, 47.1%)
CIE-LABlab(49.99, -40.92, 30.10)
CIE-LCHlch(49.99, 50.80, 143.66°)
OKLaboklab(55.51% -0.1106 0.0728)
OKLCHoklch(55.51% 0.132 146.7)
XYZxyz(10.9826, 18.4124, 7.9752)
Luminance0.1841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338741 #873379
analogous
#4F8733 #338741 #33876B
triadic
#338741 #413387 #874133
tetradic
#338741 #334F87 #873379 #876B33
square
#338741 #334F87 #873379 #876B33
split-complementary
#338741 #6B3387 #87334F
monochromatic
#112E16 #225B2C #338741 #44B356 #6DC87C

Accessibility & contrast

On white

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

On black

4.68
#338741 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338741
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338741#FFFFFF#000000##000000
##3387411.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B3B
Deuteranopia (green-blind)
#7E7446
Tritanopia (blue-blind)
#1F8477
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338741;
/* rgb */ color: rgb(51, 135, 65);
/* oklch */ color: oklch(55.5% 0.132 146.7);
Tailwind
colors: {
  custom: {
    50: '#74ab77',
    500: '#338741',
    950: '#000000',
  },
}
SCSS
$custom: #338741;
$custom-light: #74ab77;
$custom-dark: #000000;
JSON
{
  "hex": "#338741",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 65
  },
  "hsl": {
    "h": 130,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55508,
    "c": 0.13244,
    "h": 146.7
  },
  "luminance": 0.18413
}

Semantic roles & 50–950 ramp

primary
#338741
secondary
#B066A3
accent
#53BFD5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338741

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

Preview Lab → · Contrast checker → · Palette generator →

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