#338756#338756

#338756 is a mid, moderate green. Relative luminance 0.187; OKLCH L 55.9% C 0.112 H 154.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#338756
RGBrgb(51, 135, 86)
HSLhsl(145, 45%, 36%)
HSVhsv(145, 62%, 53%)
CMYKcmyk(62.2%, 0%, 36.3%, 47.1%)
CIE-LABlab(50.34, -37.16, 19.03)
CIE-LCHlch(50.34, 41.75, 152.87°)
OKLaboklab(55.9% -0.1008 0.0478)
OKLCHoklch(55.9% 0.112 154.6)
XYZxyz(11.7080, 18.7025, 11.7952)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338756 #873364
analogous
#3A8733 #338756 #338780
triadic
#338756 #563387 #875633
tetradic
#338756 #333A87 #873364 #878033
square
#338756 #333A87 #873364 #878033
split-complementary
#338756 #803387 #87333A
monochromatic
#112E1D #225B3A #338756 #44B372 #6DC893

Accessibility & contrast

On white

4.43
#338756 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#338756 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338756
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338756#FFFFFF#000000##000000
##3387561.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877D53
Deuteranopia (green-blind)
#7B7559
Tritanopia (blue-blind)
#13867A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338756;
/* rgb */ color: rgb(51, 135, 86);
/* oklch */ color: oklch(55.9% 0.112 154.6);
Tailwind
colors: {
  custom: {
    50: '#74ab86',
    500: '#338756',
    950: '#000000',
  },
}
SCSS
$custom: #338756;
$custom-light: #74ab86;
$custom-dark: #000000;
JSON
{
  "hex": "#338756",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 86
  },
  "hsl": {
    "h": 145,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55904,
    "c": 0.11157,
    "h": 154.6
  },
  "luminance": 0.18704
}

Semantic roles & 50–950 ramp

primary
#338756
secondary
#B06691
accent
#539FD5
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338756

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

Preview Lab → · Contrast checker → · Palette generator →

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