#338458#338458

#338458 is a mid, moderate green. Relative luminance 0.179; OKLCH L 55.1% C 0.105 H 156.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#338458
RGBrgb(51, 132, 88)
HSLhsl(147, 44%, 36%)
HSVhsv(147, 61%, 52%)
CMYKcmyk(61.4%, 0%, 33.3%, 48.2%)
CIE-LABlab(49.39, -35.42, 16.61)
CIE-LCHlch(49.39, 39.13, 154.88°)
OKLaboklab(55.14% -0.0964 0.042)
OKLCHoklch(55.14% 0.105 156.5)
XYZxyz(11.3770, 17.9098, 12.0880)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338458 #84335F
analogous
#378433 #338458 #338480
triadic
#338458 #583384 #845833
tetradic
#338458 #333784 #84335F #848033
square
#338458 #333784 #84335F #848033
split-complementary
#338458 #803384 #843337
monochromatic
#112C1D #22583B #338458 #44B075 #6BC695

Accessibility & contrast

On white

4.58
#338458 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#338458 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338458
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338458#FFFFFF#000000##000000
##3384581.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#837A55
Deuteranopia (green-blind)
#78725B
Tritanopia (blue-blind)
#138378
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338458;
/* rgb */ color: rgb(51, 132, 88);
/* oklch */ color: oklch(55.1% 0.105 156.5);
Tailwind
colors: {
  custom: {
    50: '#73a887',
    500: '#338458',
    950: '#000000',
  },
}
SCSS
$custom: #338458;
$custom-light: #73a887;
$custom-dark: #000000;
JSON
{
  "hex": "#338458",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 88
  },
  "hsl": {
    "h": 147.407,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55138,
    "c": 0.10515,
    "h": 156.5
  },
  "luminance": 0.17911
}

Semantic roles & 50–950 ramp

primary
#338458
secondary
#AE658D
accent
#5499D4
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338458

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

Preview Lab → · Contrast checker → · Palette generator →

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