#338425#338425

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

Color values

HEX#338425
RGBrgb(51, 132, 37)
HSLhsl(111, 56%, 33%)
HSVhsv(111, 72%, 52%)
CMYKcmyk(61.4%, 0%, 72%, 48.2%)
CIE-LABlab(48.68, -43.16, 42.01)
CIE-LCHlch(48.68, 60.23, 135.78°)
OKLaboklab(54.33% -0.1181 0.0958)
OKLCHoklch(54.33% 0.152 140.9)
XYZxyz(9.9500, 17.3390, 4.5723)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338425 #762584
analogous
#628425 #338425 #258446
triadic
#338425 #253384 #842533
tetradic
#338425 #256284 #762584 #844625
square
#338425 #256284 #762584 #844625
split-complementary
#338425 #462584 #842562
monochromatic
#0E240A #215418 #338425 #45B432 #66CF54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338425#FFFFFF#000000##FFFFFF
##3384251.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)
#877816
Deuteranopia (green-blind)
#7D712E
Tritanopia (blue-blind)
#278071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338425;
/* rgb */ color: rgb(51, 132, 37);
/* oklch */ color: oklch(54.3% 0.152 140.9);
Tailwind
colors: {
  custom: {
    50: '#75a965',
    500: '#338425',
    950: '#000000',
  },
}
SCSS
$custom: #338425;
$custom-light: #75a965;
$custom-dark: #000000;
JSON
{
  "hex": "#338425",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 37
  },
  "hsl": {
    "h": 111.158,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54332,
    "c": 0.15205,
    "h": 140.9
  },
  "luminance": 0.1734
}

Semantic roles & 50–950 ramp

primary
#338425
secondary
#A551B3
accent
#48E0C9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338425

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

Preview Lab → · Contrast checker → · Palette generator →

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