#338116#338116

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

Color values

HEX#338116
RGBrgb(51, 129, 22)
HSLhsl(104, 71%, 30%)
HSVhsv(104, 83%, 51%)
CMYKcmyk(60.5%, 0%, 82.9%, 49.4%)
CIE-LABlab(47.57, -43.13, 46.37)
CIE-LCHlch(47.57, 63.33, 132.93°)
OKLaboklab(53.38% -0.1188 0.1027)
OKLCHoklch(53.38% 0.157 139.2)
XYZxyz(9.3599, 16.4614, 3.4430)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338116 #641681
analogous
#698116 #338116 #16812E
triadic
#338116 #163381 #811633
tetradic
#338116 #166981 #641681 #812E16
square
#338116 #166981 #641681 #812E16
split-complementary
#338116 #2E1681 #811669
monochromatic
#0A1A04 #1E4D0D #338116 #48B51F #62DD35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #338116;
/* rgb */ color: rgb(51, 129, 22);
/* oklch */ color: oklch(53.4% 0.157 139.2);
Tailwind
colors: {
  custom: {
    50: '#75a65e',
    500: '#338116',
    950: '#000000',
  },
}
SCSS
$custom: #338116;
$custom-light: #75a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#338116",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 103.738,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53384,
    "c": 0.1571,
    "h": 139.2
  },
  "luminance": 0.16462
}

Semantic roles & 50–950 ramp

primary
#338116
secondary
#953DB6
accent
#3AEEBD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #338116

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

Preview Lab → · Contrast checker → · Palette generator →

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