#338758#338758

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

Color values

HEX#338758
RGBrgb(51, 135, 88)
HSLhsl(146, 45%, 36%)
HSVhsv(146, 62%, 53%)
CMYKcmyk(62.2%, 0%, 34.8%, 47.1%)
CIE-LABlab(50.38, -36.74, 17.95)
CIE-LCHlch(50.38, 40.90, 153.96°)
OKLaboklab(55.95% -0.0998 0.0452)
OKLCHoklch(55.95% 0.11 155.6)
XYZxyz(11.7897, 18.7352, 12.2256)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338758 #873362
analogous
#388733 #338758 #338782
triadic
#338758 #583387 #875833
tetradic
#338758 #333887 #873362 #878233
square
#338758 #333887 #873362 #878233
split-complementary
#338758 #823387 #873338
monochromatic
#112E1E #225B3B #338758 #44B375 #6DC895

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338758#FFFFFF#000000##000000
##3387581.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)
#867D55
Deuteranopia (green-blind)
#7B755B
Tritanopia (blue-blind)
#11867B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338758;
/* rgb */ color: rgb(51, 135, 88);
/* oklch */ color: oklch(55.9% 0.110 155.6);
Tailwind
colors: {
  custom: {
    50: '#74ab87',
    500: '#338758',
    950: '#000000',
  },
}
SCSS
$custom: #338758;
$custom-light: #74ab87;
$custom-dark: #000000;
JSON
{
  "hex": "#338758",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 88
  },
  "hsl": {
    "h": 146.429,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55949,
    "c": 0.1096,
    "h": 155.6
  },
  "luminance": 0.18736
}

Semantic roles & 50–950 ramp

primary
#338758
secondary
#B0668F
accent
#539CD5
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338758

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

Preview Lab → · Contrast checker → · Palette generator →

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