#338737#338737

#338737 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.142 H 144.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#338737
RGBrgb(51, 135, 55)
HSLhsl(123, 45%, 36%)
HSVhsv(123, 62%, 53%)
CMYKcmyk(62.2%, 0%, 59.3%, 47.1%)
CIE-LABlab(49.87, -42.34, 35.07)
CIE-LCHlch(49.87, 54.98, 140.37°)
OKLaboklab(55.36% -0.1148 0.083)
OKLCHoklch(55.36% 0.142 144.1)
XYZxyz(10.7182, 18.3066, 6.5824)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338737 #873383
analogous
#598733 #338737 #338761
triadic
#338737 #373387 #873733
tetradic
#338737 #335987 #873383 #876133
square
#338737 #335987 #873383 #876133
split-complementary
#338737 #613387 #873359
monochromatic
#112E13 #225B25 #338737 #44B349 #6DC871

Accessibility & contrast

On white

4.50
#338737 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#338737 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338737
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338737#FFFFFF#000000##000000
##3387371.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B2F
Deuteranopia (green-blind)
#7F743D
Tritanopia (blue-blind)
#228375
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338737;
/* rgb */ color: rgb(51, 135, 55);
/* oklch */ color: oklch(55.4% 0.142 144.1);
Tailwind
colors: {
  custom: {
    50: '#74ab70',
    500: '#338737',
    950: '#000000',
  },
}
SCSS
$custom: #338737;
$custom-light: #74ab70;
$custom-dark: #000000;
JSON
{
  "hex": "#338737",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 55
  },
  "hsl": {
    "h": 122.857,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55363,
    "c": 0.14171,
    "h": 144.1
  },
  "luminance": 0.18308
}

Semantic roles & 50–950 ramp

primary
#338737
secondary
#B066AC
accent
#53CFD5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #338737

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

Preview Lab → · Contrast checker → · Palette generator →

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