#338427#338427

#338427 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.151 H 141.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#338427
RGBrgb(51, 132, 39)
HSLhsl(112, 54%, 34%)
HSVhsv(112, 70%, 52%)
CMYKcmyk(61.4%, 0%, 70.5%, 48.2%)
CIE-LABlab(48.70, -42.98, 41.18)
CIE-LCHlch(48.70, 59.53, 136.22°)
OKLaboklab(54.35% -0.1174 0.0944)
OKLCHoklch(54.35% 0.151 141.2)
XYZxyz(9.9822, 17.3519, 4.7423)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338427 #782784
analogous
#618427 #338427 #278449
triadic
#338427 #273384 #842733
tetradic
#338427 #276184 #782784 #844927
square
#338427 #276184 #782784 #844927
split-complementary
#338427 #492784 #842761
monochromatic
#0E260B #215519 #338427 #45B335 #67CE58

Accessibility & contrast

On white

4.70
#338427 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#338427 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338427
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338427#FFFFFF#000000##FFFFFF
##3384271.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87781A
Deuteranopia (green-blind)
#7D7130
Tritanopia (blue-blind)
#278071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338427;
/* rgb */ color: rgb(51, 132, 39);
/* oklch */ color: oklch(54.4% 0.151 141.2);
Tailwind
colors: {
  custom: {
    50: '#75a966',
    500: '#338427',
    950: '#000000',
  },
}
SCSS
$custom: #338427;
$custom-light: #75a966;
$custom-dark: #000000;
JSON
{
  "hex": "#338427",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 39
  },
  "hsl": {
    "h": 112.258,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5435,
    "c": 0.15064,
    "h": 141.2
  },
  "luminance": 0.17353
}

Semantic roles & 50–950 ramp

primary
#338427
secondary
#A654B2
accent
#4ADECB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338427

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

Preview Lab → · Contrast checker → · Palette generator →

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