#338757#338757

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

Color values

HEX#338757
RGBrgb(51, 135, 87)
HSLhsl(146, 45%, 36%)
HSVhsv(146, 62%, 53%)
CMYKcmyk(62.2%, 0%, 35.6%, 47.1%)
CIE-LABlab(50.36, -36.95, 18.49)
CIE-LCHlch(50.36, 41.32, 153.41°)
OKLaboklab(55.93% -0.1003 0.0465)
OKLCHoklch(55.93% 0.111 155.1)
XYZxyz(11.7485, 18.7187, 12.0089)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338757 #873363
analogous
#398733 #338757 #338781
triadic
#338757 #573387 #875733
tetradic
#338757 #333987 #873363 #878133
square
#338757 #333987 #873363 #878133
split-complementary
#338757 #813387 #873339
monochromatic
#112E1E #225B3A #338757 #44B374 #6DC894

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338757#FFFFFF#000000##000000
##3387571.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)
#877D54
Deuteranopia (green-blind)
#7B755A
Tritanopia (blue-blind)
#12867B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #338757;
/* rgb */ color: rgb(51, 135, 87);
/* oklch */ color: oklch(55.9% 0.111 155.1);
Tailwind
colors: {
  custom: {
    50: '#74ab86',
    500: '#338757',
    950: '#000000',
  },
}
SCSS
$custom: #338757;
$custom-light: #74ab86;
$custom-dark: #000000;
JSON
{
  "hex": "#338757",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 87
  },
  "hsl": {
    "h": 145.714,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55926,
    "c": 0.11058,
    "h": 155.1
  },
  "luminance": 0.1872
}

Semantic roles & 50–950 ramp

primary
#338757
secondary
#B06690
accent
#539DD5
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #338757

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

Preview Lab → · Contrast checker → · Palette generator →

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