#338146#338146

#338146 is a mid, moderate green. Relative luminance 0.168; OKLCH L 53.9% C 0.119 H 148.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#338146
RGBrgb(51, 129, 70)
HSLhsl(135, 43%, 35%)
HSVhsv(135, 60%, 51%)
CMYKcmyk(60.5%, 0%, 45.7%, 49.4%)
CIE-LABlab(48.06, -37.61, 24.98)
CIE-LCHlch(48.06, 45.14, 146.41°)
OKLaboklab(53.95% -0.1017 0.0614)
OKLCHoklch(53.95% 0.119 148.9)
XYZxyz(10.3203, 16.8456, 8.5008)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338146 #81336E
analogous
#478133 #338146 #33816D
triadic
#338146 #463381 #814633
tetradic
#338146 #334781 #81336E #816D33
square
#338146 #334781 #81336E #816D33
split-complementary
#338146 #6D3381 #813347
monochromatic
#102916 #22552E #338146 #44AD5E #6AC480

Accessibility & contrast

On white

4.81
#338146 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#338146 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338146
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338146#FFFFFF#000000##FFFFFF
##3381461.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827642
Deuteranopia (green-blind)
#786F4A
Tritanopia (blue-blind)
#1F7F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #338146;
/* rgb */ color: rgb(51, 129, 70);
/* oklch */ color: oklch(53.9% 0.119 148.9);
Tailwind
colors: {
  custom: {
    50: '#73a67a',
    500: '#338146',
    950: '#000000',
  },
}
SCSS
$custom: #338146;
$custom-light: #73a67a;
$custom-dark: #000000;
JSON
{
  "hex": "#338146",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 70
  },
  "hsl": {
    "h": 134.615,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.53947,
    "c": 0.11879,
    "h": 148.9
  },
  "luminance": 0.16847
}

Semantic roles & 50–950 ramp

primary
#338146
secondary
#AC649A
accent
#55B4D3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #338146

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

Preview Lab → · Contrast checker → · Palette generator →

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