#338349#338349

#338349 is a mid, moderate green. Relative luminance 0.174; OKLCH L 54.6% C 0.119 H 149.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#338349
RGBrgb(51, 131, 73)
HSLhsl(137, 44%, 36%)
HSVhsv(137, 61%, 51%)
CMYKcmyk(61.1%, 0%, 44.3%, 48.6%)
CIE-LABlab(48.78, -37.92, 24.25)
CIE-LCHlch(48.78, 45.01, 147.41°)
OKLaboklab(54.55% -0.1025 0.0598)
OKLCHoklch(54.55% 0.119 149.8)
XYZxyz(10.6834, 17.4164, 9.1007)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338349 #83336D
analogous
#458333 #338349 #338371
triadic
#338349 #493383 #834933
tetradic
#338349 #334583 #83336D #837133
square
#338349 #334583 #83336D #837133
split-complementary
#338349 #713383 #833345
monochromatic
#112B18 #225730 #338349 #44AF62 #6BC584

Accessibility & contrast

On white

4.68
#338349 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#338349 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338349
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338349#FFFFFF#000000##FFFFFF
##3383491.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847845
Deuteranopia (green-blind)
#79714D
Tritanopia (blue-blind)
#1D8175
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338349;
/* rgb */ color: rgb(51, 131, 73);
/* oklch */ color: oklch(54.6% 0.119 149.8);
Tailwind
colors: {
  custom: {
    50: '#73a87c',
    500: '#338349',
    950: '#000000',
  },
}
SCSS
$custom: #338349;
$custom-light: #73a87c;
$custom-dark: #000000;
JSON
{
  "hex": "#338349",
  "rgb": {
    "r": 51,
    "g": 131,
    "b": 73
  },
  "hsl": {
    "h": 136.5,
    "s": 43.956,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54551,
    "c": 0.11871,
    "h": 149.8
  },
  "luminance": 0.17417
}

Semantic roles & 50–950 ramp

primary
#338349
secondary
#AD6599
accent
#54B1D4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338349

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

Preview Lab → · Contrast checker → · Palette generator →

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