#338247#338247

#338247 is a mid, moderate green. Relative luminance 0.171; OKLCH L 54.2% C 0.119 H 149.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#338247
RGBrgb(51, 130, 71)
HSLhsl(135, 44%, 35%)
HSVhsv(135, 61%, 51%)
CMYKcmyk(60.8%, 0%, 45.4%, 49%)
CIE-LABlab(48.41, -37.85, 24.88)
CIE-LCHlch(48.41, 45.30, 146.69°)
OKLaboklab(54.24% -0.1024 0.0612)
OKLCHoklch(54.24% 0.119 149.1)
XYZxyz(10.4845, 17.1230, 8.7126)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338247 #82336E
analogous
#468233 #338247 #33826E
triadic
#338247 #473382 #824733
tetradic
#338247 #334682 #82336E #826E33
square
#338247 #334682 #82336E #826E33
split-complementary
#338247 #6E3382 #823346
monochromatic
#112A17 #22562F #338247 #44AE5F #6BC581

Accessibility & contrast

On white

4.75
#338247 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#338247 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338247
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338247#FFFFFF#000000##FFFFFF
##3382471.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837743
Deuteranopia (green-blind)
#79704B
Tritanopia (blue-blind)
#1E8074
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338247;
/* rgb */ color: rgb(51, 130, 71);
/* oklch */ color: oklch(54.2% 0.119 149.1);
Tailwind
colors: {
  custom: {
    50: '#73a77b',
    500: '#338247',
    950: '#000000',
  },
}
SCSS
$custom: #338247;
$custom-light: #73a77b;
$custom-dark: #000000;
JSON
{
  "hex": "#338247",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 71
  },
  "hsl": {
    "h": 135.19,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54239,
    "c": 0.11926,
    "h": 149.1
  },
  "luminance": 0.17124
}

Semantic roles & 50–950 ramp

primary
#338247
secondary
#AD649A
accent
#54B3D3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #338247

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

Preview Lab → · Contrast checker → · Palette generator →

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