#338159#338159

#338159 is a mid, moderate green. Relative luminance 0.171; OKLCH L 54.4% C 0.100 H 158.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#338159
RGBrgb(51, 129, 89)
HSLhsl(149, 43%, 35%)
HSVhsv(149, 60%, 51%)
CMYKcmyk(60.5%, 0%, 31%, 49.4%)
CIE-LABlab(48.42, -33.86, 14.71)
CIE-LCHlch(48.42, 36.92, 156.52°)
OKLaboklab(54.35% -0.0924 0.0373)
OKLCHoklch(54.35% 0.1 158)
XYZxyz(11.0177, 17.1245, 12.1740)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338159 #81335B
analogous
#348133 #338159 #338180
triadic
#338159 #593381 #815933
tetradic
#338159 #333481 #81335B #818033
square
#338159 #333481 #81335B #818033
split-complementary
#338159 #803381 #813334
monochromatic
#10291C #22553B #338159 #44AD77 #6AC496

Accessibility & contrast

On white

4.75
#338159 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #338159
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338159#FFFFFF#000000##FFFFFF
##3381591.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807857
Deuteranopia (green-blind)
#75705C
Tritanopia (blue-blind)
#148076
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338159;
/* rgb */ color: rgb(51, 129, 89);
/* oklch */ color: oklch(54.4% 0.100 158.0);
Tailwind
colors: {
  custom: {
    50: '#72a688',
    500: '#338159',
    950: '#000000',
  },
}
SCSS
$custom: #338159;
$custom-light: #72a688;
$custom-dark: #000000;
JSON
{
  "hex": "#338159",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 89
  },
  "hsl": {
    "h": 149.231,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5435,
    "c": 0.0997,
    "h": 158
  },
  "luminance": 0.17126
}

Semantic roles & 50–950 ramp

primary
#338159
secondary
#AC6489
accent
#5596D3
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #338159

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

Preview Lab → · Contrast checker → · Palette generator →

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