#338736#338736

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

Color values

HEX#338736
RGBrgb(51, 135, 54)
HSLhsl(122, 45%, 36%)
HSVhsv(122, 62%, 53%)
CMYKcmyk(62.2%, 0%, 60%, 47.1%)
CIE-LABlab(49.85, -42.47, 35.55)
CIE-LCHlch(49.85, 55.38, 140.07°)
OKLaboklab(55.35% -0.1152 0.084)
OKLCHoklch(55.35% 0.143 143.9)
XYZxyz(10.6944, 18.2971, 6.4574)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338736 #873384
analogous
#5A8733 #338736 #338760
triadic
#338736 #363387 #873633
tetradic
#338736 #335A87 #873384 #876033
square
#338736 #335A87 #873384 #876033
split-complementary
#338736 #603387 #87335A
monochromatic
#112E12 #225B24 #338736 #44B348 #6DC870

Accessibility & contrast

On white

4.51
#338736 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##338736#FFFFFF#000000##000000
##3387361.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #338736;
/* rgb */ color: rgb(51, 135, 54);
/* oklch */ color: oklch(55.4% 0.143 143.9);
Tailwind
colors: {
  custom: {
    50: '#74ab70',
    500: '#338736',
    950: '#000000',
  },
}
SCSS
$custom: #338736;
$custom-light: #74ab70;
$custom-dark: #000000;
JSON
{
  "hex": "#338736",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 54
  },
  "hsl": {
    "h": 122.143,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5535,
    "c": 0.14258,
    "h": 143.9
  },
  "luminance": 0.18298
}

Semantic roles & 50–950 ramp

primary
#338736
secondary
#B066AD
accent
#53D0D5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #338736

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

Preview Lab → · Contrast checker → · Palette generator →

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