#338426#338426

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

Color values

HEX#338426
RGBrgb(51, 132, 38)
HSLhsl(112, 55%, 33%)
HSVhsv(112, 71%, 52%)
CMYKcmyk(61.4%, 0%, 71.2%, 48.2%)
CIE-LABlab(48.69, -43.07, 41.60)
CIE-LCHlch(48.69, 59.88, 136.00°)
OKLaboklab(54.34% -0.1177 0.0951)
OKLCHoklch(54.34% 0.151 141.1)
XYZxyz(9.9659, 17.3454, 4.6562)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338426 #772684
analogous
#628426 #338426 #268448
triadic
#338426 #263384 #842633
tetradic
#338426 #266284 #772684 #844826
square
#338426 #266284 #772684 #844826
split-complementary
#338426 #482684 #842662
monochromatic
#0E250B #215418 #338426 #45B434 #67CE56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338426#FFFFFF#000000##FFFFFF
##3384261.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)
#877818
Deuteranopia (green-blind)
#7D712F
Tritanopia (blue-blind)
#278071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338426;
/* rgb */ color: rgb(51, 132, 38);
/* oklch */ color: oklch(54.3% 0.151 141.1);
Tailwind
colors: {
  custom: {
    50: '#75a966',
    500: '#338426',
    950: '#000000',
  },
}
SCSS
$custom: #338426;
$custom-light: #75a966;
$custom-dark: #000000;
JSON
{
  "hex": "#338426",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 38
  },
  "hsl": {
    "h": 111.702,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54341,
    "c": 0.15135,
    "h": 141.1
  },
  "luminance": 0.17346
}

Semantic roles & 50–950 ramp

primary
#338426
secondary
#A653B3
accent
#49DFCA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338426

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

Preview Lab → · Contrast checker → · Palette generator →

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