#338759#338759

#338759 is a mid, moderate green. Relative luminance 0.188; OKLCH L 56.0% C 0.109 H 156.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#338759
RGBrgb(51, 135, 89)
HSLhsl(147, 45%, 36%)
HSVhsv(147, 62%, 53%)
CMYKcmyk(62.2%, 0%, 34.1%, 47.1%)
CIE-LABlab(50.40, -36.54, 17.41)
CIE-LCHlch(50.40, 40.47, 154.52°)
OKLaboklab(55.97% -0.0993 0.0439)
OKLCHoklch(55.97% 0.109 156.1)
XYZxyz(11.8314, 18.7519, 12.4452)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338759 #873361
analogous
#378733 #338759 #338783
triadic
#338759 #593387 #875933
tetradic
#338759 #333787 #873361 #878333
square
#338759 #333787 #873361 #878333
split-complementary
#338759 #833387 #873337
monochromatic
#112E1E #225B3C #338759 #44B376 #6DC896

Accessibility & contrast

On white

4.42
#338759 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#338759 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338759
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338759#FFFFFF#000000##000000
##3387591.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867D56
Deuteranopia (green-blind)
#7B755C
Tritanopia (blue-blind)
#10867B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338759;
/* rgb */ color: rgb(51, 135, 89);
/* oklch */ color: oklch(56.0% 0.109 156.1);
Tailwind
colors: {
  custom: {
    50: '#74ab88',
    500: '#338759',
    950: '#000000',
  },
}
SCSS
$custom: #338759;
$custom-light: #74ab88;
$custom-dark: #000000;
JSON
{
  "hex": "#338759",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 89
  },
  "hsl": {
    "h": 147.143,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55971,
    "c": 0.10861,
    "h": 156.1
  },
  "luminance": 0.18753
}

Semantic roles & 50–950 ramp

primary
#338759
secondary
#B0668E
accent
#539AD5
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338759

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

Preview Lab → · Contrast checker → · Palette generator →

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