#338724#338724

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

Color values

HEX#338724
RGBrgb(51, 135, 36)
HSLhsl(111, 58%, 34%)
HSVhsv(111, 73%, 53%)
CMYKcmyk(62.2%, 0%, 73.3%, 47.1%)
CIE-LABlab(49.69, -44.39, 43.45)
CIE-LCHlch(49.69, 62.12, 135.61°)
OKLaboklab(55.16% -0.1214 0.0987)
OKLCHoklch(55.16% 0.157 140.9)
XYZxyz(10.3471, 18.1582, 4.6283)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338724 #782487
analogous
#648724 #338724 #248746
triadic
#338724 #243387 #872433
tetradic
#338724 #246487 #782487 #874624
square
#338724 #246487 #782487 #874624
split-complementary
#338724 #462487 #872464
monochromatic
#0E260A #215717 #338724 #45B731 #67D154

Accessibility & contrast

On white

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

On black

4.63
#338724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338724
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338724#FFFFFF#000000##000000
##3387241.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A14
Deuteranopia (green-blind)
#80742E
Tritanopia (blue-blind)
#268373
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #338724;
/* rgb */ color: rgb(51, 135, 36);
/* oklch */ color: oklch(55.2% 0.157 140.9);
Tailwind
colors: {
  custom: {
    50: '#75ab65',
    500: '#338724',
    950: '#000000',
  },
}
SCSS
$custom: #338724;
$custom-light: #75ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#338724",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 110.909,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55158,
    "c": 0.1565,
    "h": 140.9
  },
  "luminance": 0.18159
}

Semantic roles & 50–950 ramp

primary
#338724
secondary
#A651B5
accent
#47E1CA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338724

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

Preview Lab → · Contrast checker → · Palette generator →

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