#338348#338348

#338348 is a mid, moderate green. Relative luminance 0.174; OKLCH L 54.5% C 0.120 H 149.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#338348
RGBrgb(51, 131, 72)
HSLhsl(136, 44%, 36%)
HSVhsv(136, 61%, 51%)
CMYKcmyk(61.1%, 0%, 45%, 48.6%)
CIE-LABlab(48.76, -38.10, 24.78)
CIE-LCHlch(48.76, 45.45, 146.97°)
OKLaboklab(54.53% -0.103 0.061)
OKLCHoklch(54.53% 0.12 149.4)
XYZxyz(10.6505, 17.4033, 8.9275)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338348 #83336E
analogous
#468333 #338348 #338370
triadic
#338348 #483383 #834833
tetradic
#338348 #334683 #83336E #837033
square
#338348 #334683 #83336E #837033
split-complementary
#338348 #703383 #833346
monochromatic
#112B18 #225730 #338348 #44AF60 #6BC583

Accessibility & contrast

On white

4.69
#338348 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #338348
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338348#FFFFFF#000000##FFFFFF
##3383481.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #338348;
/* rgb */ color: rgb(51, 131, 72);
/* oklch */ color: oklch(54.5% 0.120 149.4);
Tailwind
colors: {
  custom: {
    50: '#73a87c',
    500: '#338348',
    950: '#000000',
  },
}
SCSS
$custom: #338348;
$custom-light: #73a87c;
$custom-dark: #000000;
JSON
{
  "hex": "#338348",
  "rgb": {
    "r": 51,
    "g": 131,
    "b": 72
  },
  "hsl": {
    "h": 135.75,
    "s": 43.956,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54532,
    "c": 0.11973,
    "h": 149.4
  },
  "luminance": 0.17404
}

Semantic roles & 50–950 ramp

primary
#338348
secondary
#AD659A
accent
#54B2D4
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #338348

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

Preview Lab → · Contrast checker → · Palette generator →

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