#338249#338249

#338249 is a mid, moderate green. Relative luminance 0.172; OKLCH L 54.3% C 0.117 H 149.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#338249
RGBrgb(51, 130, 73)
HSLhsl(137, 44%, 35%)
HSVhsv(137, 61%, 51%)
CMYKcmyk(60.8%, 0%, 43.8%, 49%)
CIE-LABlab(48.45, -37.50, 23.81)
CIE-LCHlch(48.45, 44.42, 147.58°)
OKLaboklab(54.28% -0.1014 0.0588)
OKLCHoklch(54.28% 0.117 149.9)
XYZxyz(10.5497, 17.1491, 9.0562)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338249 #82336C
analogous
#448233 #338249 #338270
triadic
#338249 #493382 #824933
tetradic
#338249 #334482 #82336C #827033
square
#338249 #334482 #82336C #827033
split-complementary
#338249 #703382 #823344
monochromatic
#112A18 #225630 #338249 #44AE62 #6BC584

Accessibility & contrast

On white

4.74
#338249 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#338249 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338249
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338249#FFFFFF#000000##FFFFFF
##3382491.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837745
Deuteranopia (green-blind)
#78704D
Tritanopia (blue-blind)
#1D8074
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338249;
/* rgb */ color: rgb(51, 130, 73);
/* oklch */ color: oklch(54.3% 0.117 149.9);
Tailwind
colors: {
  custom: {
    50: '#73a77c',
    500: '#338249',
    950: '#000000',
  },
}
SCSS
$custom: #338249;
$custom-light: #73a77c;
$custom-dark: #000000;
JSON
{
  "hex": "#338249",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 73
  },
  "hsl": {
    "h": 136.709,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54277,
    "c": 0.11723,
    "h": 149.9
  },
  "luminance": 0.1715
}

Semantic roles & 50–950 ramp

primary
#338249
secondary
#AD6498
accent
#54B0D3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #338249

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

Preview Lab → · Contrast checker → · Palette generator →

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