#338358#338358

#338358 is a mid, moderate green. Relative luminance 0.176; OKLCH L 54.9% C 0.104 H 156.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#338358
RGBrgb(51, 131, 88)
HSLhsl(148, 44%, 36%)
HSVhsv(148, 61%, 51%)
CMYKcmyk(61.1%, 0%, 32.8%, 48.6%)
CIE-LABlab(49.06, -34.98, 16.16)
CIE-LCHlch(49.06, 38.53, 155.20°)
OKLaboklab(54.87% -0.0953 0.0409)
OKLCHoklch(54.87% 0.104 156.8)
XYZxyz(11.2420, 17.6399, 12.0430)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338358 #83335E
analogous
#368333 #338358 #338380
triadic
#338358 #583383 #835833
tetradic
#338358 #333683 #83335E #838033
square
#338358 #333683 #83335E #838033
split-complementary
#338358 #803383 #833336
monochromatic
#112B1D #22573A #338358 #44AF76 #6BC595

Accessibility & contrast

On white

4.64
#338358 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#338358 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338358
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338358#FFFFFF#000000##FFFFFF
##3383581.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827955
Deuteranopia (green-blind)
#77715B
Tritanopia (blue-blind)
#138278
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338358;
/* rgb */ color: rgb(51, 131, 88);
/* oklch */ color: oklch(54.9% 0.104 156.8);
Tailwind
colors: {
  custom: {
    50: '#73a887',
    500: '#338358',
    950: '#000000',
  },
}
SCSS
$custom: #338358;
$custom-light: #73a887;
$custom-dark: #000000;
JSON
{
  "hex": "#338358",
  "rgb": {
    "r": 51,
    "g": 131,
    "b": 88
  },
  "hsl": {
    "h": 147.75,
    "s": 43.956,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54867,
    "c": 0.10366,
    "h": 156.8
  },
  "luminance": 0.17641
}

Semantic roles & 50–950 ramp

primary
#338358
secondary
#AD658C
accent
#5499D4
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #338358

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

Preview Lab → · Contrast checker → · Palette generator →

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