#338115#338115

#338115 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.158 H 139.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#338115
RGBrgb(51, 129, 21)
HSLhsl(103, 72%, 29%)
HSVhsv(103, 84%, 51%)
CMYKcmyk(60.5%, 0%, 83.7%, 49.4%)
CIE-LABlab(47.57, -43.19, 46.66)
CIE-LCHlch(47.57, 63.58, 132.78°)
OKLaboklab(53.38% -0.119 0.1032)
OKLCHoklch(53.38% 0.158 139.1)
XYZxyz(9.3505, 16.4576, 3.3932)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338115 #631581
analogous
#698115 #338115 #15812D
triadic
#338115 #153381 #811533
tetradic
#338115 #156981 #631581 #812D15
square
#338115 #156981 #631581 #812D15
split-complementary
#338115 #2D1581 #811569
monochromatic
#0A1A04 #1E4C0C #338115 #48B61E #62DE33

Accessibility & contrast

On white

4.89
#338115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#338115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338115
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338115#FFFFFF#000000##FFFFFF
##3381151.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#2A7C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #338115;
/* rgb */ color: rgb(51, 129, 21);
/* oklch */ color: oklch(53.4% 0.158 139.1);
Tailwind
colors: {
  custom: {
    50: '#75a65d',
    500: '#338115',
    950: '#000000',
  },
}
SCSS
$custom: #338115;
$custom-light: #75a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#338115",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 103.333,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53378,
    "c": 0.15757,
    "h": 139.1
  },
  "luminance": 0.16458
}

Semantic roles & 50–950 ramp

primary
#338115
secondary
#943CB6
accent
#39EFBC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #338115

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

Preview Lab → · Contrast checker → · Palette generator →

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