#338656#338656

#338656 is a mid, moderate green. Relative luminance 0.184; OKLCH L 55.6% C 0.110 H 154.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#338656
RGBrgb(51, 134, 86)
HSLhsl(145, 45%, 36%)
HSVhsv(145, 62%, 53%)
CMYKcmyk(61.9%, 0%, 35.8%, 47.5%)
CIE-LABlab(50.01, -36.72, 18.59)
CIE-LCHlch(50.01, 41.16, 153.15°)
OKLaboklab(55.63% -0.0997 0.0467)
OKLCHoklch(55.63% 0.11 154.9)
XYZxyz(11.5691, 18.4248, 11.7489)
Luminance0.1843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338656 #863363
analogous
#3A8633 #338656 #338680
triadic
#338656 #563386 #865633
tetradic
#338656 #333A86 #863363 #868033
square
#338656 #333A86 #863363 #868033
split-complementary
#338656 #803386 #86333A
monochromatic
#112D1D #225A3A #338656 #44B272 #6CC793

Accessibility & contrast

On white

4.48
#338656 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#338656 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338656
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338656#FFFFFF#000000##000000
##3386561.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867C53
Deuteranopia (green-blind)
#7A7459
Tritanopia (blue-blind)
#13857A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338656;
/* rgb */ color: rgb(51, 134, 86);
/* oklch */ color: oklch(55.6% 0.110 154.9);
Tailwind
colors: {
  custom: {
    50: '#73aa86',
    500: '#338656',
    950: '#000000',
  },
}
SCSS
$custom: #338656;
$custom-light: #73aa86;
$custom-dark: #000000;
JSON
{
  "hex": "#338656",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 86
  },
  "hsl": {
    "h": 145.301,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55634,
    "c": 0.11009,
    "h": 154.9
  },
  "luminance": 0.18426
}

Semantic roles & 50–950 ramp

primary
#338656
secondary
#AF6690
accent
#539ED5
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338656

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

Preview Lab → · Contrast checker → · Palette generator →

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