#338111#338111

#338111 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.159 H 138.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#338111
RGBrgb(51, 129, 17)
HSLhsl(102, 77%, 29%)
HSVhsv(102, 87%, 51%)
CMYKcmyk(60.5%, 0%, 86.8%, 49.4%)
CIE-LABlab(47.55, -43.39, 47.77)
CIE-LCHlch(47.55, 64.53, 132.25°)
OKLaboklab(53.36% -0.1198 0.105)
OKLCHoklch(53.36% 0.159 138.8)
XYZxyz(9.3163, 16.4440, 3.2133)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338111 #5F1181
analogous
#6B8111 #338111 #118127
triadic
#338111 #113381 #811133
tetradic
#338111 #116B81 #5F1181 #812711
square
#338111 #116B81 #5F1181 #812711
split-complementary
#338111 #271181 #81116B
monochromatic
#0B1B04 #1E4B0A #338111 #48B718 #62E32A

Accessibility & contrast

On white

4.90
#338111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #338111
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338111#FFFFFF#000000##FFFFFF
##3381111.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #338111;
/* rgb */ color: rgb(51, 129, 17);
/* oklch */ color: oklch(53.4% 0.159 138.8);
Tailwind
colors: {
  custom: {
    50: '#75a65c',
    500: '#338111',
    950: '#000000',
  },
}
SCSS
$custom: #338111;
$custom-light: #75a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#338111",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 17
  },
  "hsl": {
    "h": 101.786,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53358,
    "c": 0.15927,
    "h": 138.8
  },
  "luminance": 0.16445
}

Semantic roles & 50–950 ramp

primary
#338111
secondary
#9037B7
accent
#35F3B9
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #338111

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

Preview Lab → · Contrast checker → · Palette generator →

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