#338113#338113

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

Color values

HEX#338113
RGBrgb(51, 129, 19)
HSLhsl(103, 74%, 29%)
HSVhsv(103, 85%, 51%)
CMYKcmyk(60.5%, 0%, 85.3%, 49.4%)
CIE-LABlab(47.56, -43.29, 47.23)
CIE-LCHlch(47.56, 64.07, 132.51°)
OKLaboklab(53.37% -0.1194 0.1041)
OKLCHoklch(53.37% 0.158 138.9)
XYZxyz(9.3327, 16.4505, 3.2994)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338113 #611381
analogous
#6A8113 #338113 #13812A
triadic
#338113 #133381 #811333
tetradic
#338113 #136A81 #611381 #812A13
square
#338113 #136A81 #611381 #812A13
split-complementary
#338113 #2A1381 #81136A
monochromatic
#0B1B04 #1E4C0B #338113 #48B61B #62E02E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338113#FFFFFF#000000##FFFFFF
##3381131.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)
#7B6E21
Tritanopia (blue-blind)
#2A7C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #338113;
/* rgb */ color: rgb(51, 129, 19);
/* oklch */ color: oklch(53.4% 0.158 138.9);
Tailwind
colors: {
  custom: {
    50: '#75a65c',
    500: '#338113',
    950: '#000000',
  },
}
SCSS
$custom: #338113;
$custom-light: #75a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#338113",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 102.545,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53368,
    "c": 0.15845,
    "h": 138.9
  },
  "luminance": 0.16451
}

Semantic roles & 50–950 ramp

primary
#338113
secondary
#923AB6
accent
#37F1BB
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #338113

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

Preview Lab → · Contrast checker → · Palette generator →

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