#338256#338256

#338256 is a mid, moderate green. Relative luminance 0.173; OKLCH L 54.5% C 0.104 H 156.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#338256
RGBrgb(51, 130, 86)
HSLhsl(147, 44%, 35%)
HSVhsv(147, 61%, 51%)
CMYKcmyk(60.8%, 0%, 33.8%, 49%)
CIE-LABlab(48.69, -34.96, 16.80)
CIE-LCHlch(48.69, 38.79, 154.33°)
OKLaboklab(54.55% -0.0951 0.0424)
OKLCHoklch(54.55% 0.104 156)
XYZxyz(11.0267, 17.3399, 11.5681)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338256 #82335F
analogous
#388233 #338256 #33827D
triadic
#338256 #563382 #825633
tetradic
#338256 #333882 #82335F #827D33
square
#338256 #333882 #82335F #827D33
split-complementary
#338256 #7D3382 #823338
monochromatic
#112A1C #225639 #338256 #44AE73 #6BC593

Accessibility & contrast

On white

4.70
#338256 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#338256 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338256
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338256#FFFFFF#000000##FFFFFF
##3382561.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817853
Deuteranopia (green-blind)
#777159
Tritanopia (blue-blind)
#168176
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338256;
/* rgb */ color: rgb(51, 130, 86);
/* oklch */ color: oklch(54.5% 0.104 156.0);
Tailwind
colors: {
  custom: {
    50: '#73a786',
    500: '#338256',
    950: '#000000',
  },
}
SCSS
$custom: #338256;
$custom-light: #73a786;
$custom-dark: #000000;
JSON
{
  "hex": "#338256",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 86
  },
  "hsl": {
    "h": 146.582,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5455,
    "c": 0.10413,
    "h": 156
  },
  "luminance": 0.17341
}

Semantic roles & 50–950 ramp

primary
#338256
secondary
#AD648D
accent
#549BD3
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #338256

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

Preview Lab → · Contrast checker → · Palette generator →

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