#338457#338457

#338457 is a mid, moderate green. Relative luminance 0.179; OKLCH L 55.1% C 0.106 H 155.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#338457
RGBrgb(51, 132, 87)
HSLhsl(147, 44%, 36%)
HSVhsv(147, 61%, 52%)
CMYKcmyk(61.4%, 0%, 34.1%, 48.2%)
CIE-LABlab(49.37, -35.64, 17.16)
CIE-LCHlch(49.37, 39.55, 154.29°)
OKLaboklab(55.12% -0.0969 0.0433)
OKLCHoklch(55.12% 0.106 155.9)
XYZxyz(11.3358, 17.8934, 11.8713)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338457 #843360
analogous
#378433 #338457 #33847F
triadic
#338457 #573384 #845733
tetradic
#338457 #333784 #843360 #847F33
square
#338457 #333784 #843360 #847F33
split-complementary
#338457 #7F3384 #843337
monochromatic
#112C1D #22583A #338457 #44B074 #6BC694

Accessibility & contrast

On white

4.59
#338457 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #338457
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338457#FFFFFF#000000##FFFFFF
##3384571.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837A54
Deuteranopia (green-blind)
#78725A
Tritanopia (blue-blind)
#148378
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338457;
/* rgb */ color: rgb(51, 132, 87);
/* oklch */ color: oklch(55.1% 0.106 155.9);
Tailwind
colors: {
  custom: {
    50: '#73a886',
    500: '#338457',
    950: '#000000',
  },
}
SCSS
$custom: #338457;
$custom-light: #73a886;
$custom-dark: #000000;
JSON
{
  "hex": "#338457",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 87
  },
  "hsl": {
    "h": 146.667,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55115,
    "c": 0.10613,
    "h": 155.9
  },
  "luminance": 0.17894
}

Semantic roles & 50–950 ramp

primary
#338457
secondary
#AE658D
accent
#549BD4
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338457

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

Preview Lab → · Contrast checker → · Palette generator →

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