#338125#338125

#338125 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.5% C 0.148 H 140.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#338125
RGBrgb(51, 129, 37)
HSLhsl(111, 55%, 33%)
HSVhsv(111, 71%, 51%)
CMYKcmyk(60.5%, 0%, 71.3%, 49.4%)
CIE-LABlab(47.67, -42.01, 40.95)
CIE-LCHlch(47.67, 58.66, 135.73°)
OKLaboklab(53.5% -0.1149 0.0936)
OKLCHoklch(53.5% 0.148 140.8)
XYZxyz(9.5490, 16.5370, 4.4387)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338125 #732581
analogous
#618125 #338125 #258145
triadic
#338125 #253381 #812533
tetradic
#338125 #256181 #732581 #814525
square
#338125 #256181 #732581 #814525
split-complementary
#338125 #452581 #812561
monochromatic
#0D220A #205117 #338125 #46B133 #65CE53

Accessibility & contrast

On white

4.88
#338125 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#338125 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338125
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338125#FFFFFF#000000##FFFFFF
##3381251.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847517
Deuteranopia (green-blind)
#7B6F2E
Tritanopia (blue-blind)
#287D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #338125;
/* rgb */ color: rgb(51, 129, 37);
/* oklch */ color: oklch(53.5% 0.148 140.8);
Tailwind
colors: {
  custom: {
    50: '#74a665',
    500: '#338125',
    950: '#000000',
  },
}
SCSS
$custom: #338125;
$custom-light: #74a665;
$custom-dark: #000000;
JSON
{
  "hex": "#338125",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 110.87,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53495,
    "c": 0.14822,
    "h": 140.8
  },
  "luminance": 0.16538
}

Semantic roles & 50–950 ramp

primary
#338125
secondary
#A350B2
accent
#49DFC8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #338125

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

Preview Lab → · Contrast checker → · Palette generator →

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