#338729#338729

#338729 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.153 H 141.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#338729
RGBrgb(51, 135, 41)
HSLhsl(114, 53%, 35%)
HSVhsv(114, 70%, 53%)
CMYKcmyk(62.2%, 0%, 69.6%, 47.1%)
CIE-LABlab(49.73, -43.94, 41.42)
CIE-LCHlch(49.73, 60.38, 136.69°)
OKLaboklab(55.2% -0.1199 0.0951)
OKLCHoklch(55.2% 0.153 141.6)
XYZxyz(10.4289, 18.1909, 5.0590)
Luminance0.1819 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338729 #7D2987
analogous
#628729 #338729 #29874E
triadic
#338729 #293387 #872933
tetradic
#338729 #296287 #7D2987 #874E29
square
#338729 #296287 #7D2987 #874E29
split-complementary
#338729 #4E2987 #872962
monochromatic
#10290C #21581B #338729 #45B637 #69CE5D

Accessibility & contrast

On white

4.53
#338729 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#338729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338729
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338729#FFFFFF#000000##000000
##3387291.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B1C
Deuteranopia (green-blind)
#807432
Tritanopia (blue-blind)
#268374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #338729;
/* rgb */ color: rgb(51, 135, 41);
/* oklch */ color: oklch(55.2% 0.153 141.6);
Tailwind
colors: {
  custom: {
    50: '#75ab68',
    500: '#338729',
    950: '#000000',
  },
}
SCSS
$custom: #338729;
$custom-light: #75ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#338729",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 113.617,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55203,
    "c": 0.15304,
    "h": 141.6
  },
  "luminance": 0.18192
}

Semantic roles & 50–950 ramp

primary
#338729
secondary
#AA59B3
accent
#4BDDCD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338729

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

Preview Lab → · Contrast checker → · Palette generator →

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