#338747#338747

#338747 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.6% C 0.127 H 148.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#338747
RGBrgb(51, 135, 71)
HSLhsl(134, 45%, 36%)
HSVhsv(134, 62%, 53%)
CMYKcmyk(62.2%, 0%, 47.4%, 47.1%)
CIE-LABlab(50.08, -39.95, 27.00)
CIE-LCHlch(50.08, 48.22, 145.94°)
OKLaboklab(55.61% -0.1079 0.0661)
OKLCHoklch(55.61% 0.127 148.5)
XYZxyz(11.1658, 18.4856, 8.9397)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338747 #873373
analogous
#498733 #338747 #338771
triadic
#338747 #473387 #874733
tetradic
#338747 #334987 #873373 #877133
square
#338747 #334987 #873373 #877133
split-complementary
#338747 #713387 #873349
monochromatic
#112E18 #225B30 #338747 #44B35E #6DC882

Accessibility & contrast

On white

4.47
#338747 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#338747 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338747
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338747#FFFFFF#000000##000000
##3387471.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C42
Deuteranopia (green-blind)
#7D744B
Tritanopia (blue-blind)
#1C8478
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338747;
/* rgb */ color: rgb(51, 135, 71);
/* oklch */ color: oklch(55.6% 0.127 148.5);
Tailwind
colors: {
  custom: {
    50: '#74ab7b',
    500: '#338747',
    950: '#000000',
  },
}
SCSS
$custom: #338747;
$custom-light: #74ab7b;
$custom-dark: #000000;
JSON
{
  "hex": "#338747",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 71
  },
  "hsl": {
    "h": 134.286,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55609,
    "c": 0.12657,
    "h": 148.5
  },
  "luminance": 0.18487
}

Semantic roles & 50–950 ramp

primary
#338747
secondary
#B0669E
accent
#53B6D5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338747

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

Preview Lab → · Contrast checker → · Palette generator →

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