#338755#338755

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

Color values

HEX#338755
RGBrgb(51, 135, 85)
HSLhsl(144, 45%, 36%)
HSVhsv(144, 62%, 53%)
CMYKcmyk(62.2%, 0%, 37%, 47.1%)
CIE-LABlab(50.32, -37.36, 19.57)
CIE-LCHlch(50.32, 42.17, 152.35°)
OKLaboklab(55.88% -0.1013 0.0491)
OKLCHoklch(55.88% 0.113 154.1)
XYZxyz(11.6679, 18.6865, 11.5845)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338755 #873365
analogous
#3B8733 #338755 #33877F
triadic
#338755 #553387 #875533
tetradic
#338755 #333B87 #873365 #877F33
square
#338755 #333B87 #873365 #877F33
split-complementary
#338755 #7F3387 #87333B
monochromatic
#112E1D #225B39 #338755 #44B371 #6DC892

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338755#FFFFFF#000000##000000
##3387551.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)
#877C52
Deuteranopia (green-blind)
#7C7558
Tritanopia (blue-blind)
#13857A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338755;
/* rgb */ color: rgb(51, 135, 85);
/* oklch */ color: oklch(55.9% 0.113 154.1);
Tailwind
colors: {
  custom: {
    50: '#74ab85',
    500: '#338755',
    950: '#000000',
  },
}
SCSS
$custom: #338755;
$custom-light: #74ab85;
$custom-dark: #000000;
JSON
{
  "hex": "#338755",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 85
  },
  "hsl": {
    "h": 144.286,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55883,
    "c": 0.11256,
    "h": 154.1
  },
  "luminance": 0.18688
}

Semantic roles & 50–950 ramp

primary
#338755
secondary
#B06692
accent
#53A0D5
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338755

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

Preview Lab → · Contrast checker → · Palette generator →

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