#338110#338110

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

Color values

HEX#338110
RGBrgb(51, 129, 16)
HSLhsl(101, 78%, 28%)
HSVhsv(101, 88%, 51%)
CMYKcmyk(60.5%, 0%, 87.6%, 49.4%)
CIE-LABlab(47.55, -43.44, 48.02)
CIE-LCHlch(47.55, 64.75, 132.13°)
OKLaboklab(53.35% -0.12 0.1053)
OKLCHoklch(53.35% 0.16 138.7)
XYZxyz(9.3087, 16.4409, 3.1730)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338110 #5E1081
analogous
#6B8110 #338110 #108125
triadic
#338110 #103381 #811033
tetradic
#338110 #106B81 #5E1081 #812510
square
#338110 #106B81 #5E1081 #812510
split-complementary
#338110 #251081 #81106B
monochromatic
#0B1B03 #1D4B09 #338110 #49B717 #62E427

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338110#FFFFFF#000000##FFFFFF
##3381101.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)
#7C6E1F
Tritanopia (blue-blind)
#2B7C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #338110;
/* rgb */ color: rgb(51, 129, 16);
/* oklch */ color: oklch(53.4% 0.160 138.7);
Tailwind
colors: {
  custom: {
    50: '#75a65b',
    500: '#338110',
    950: '#000000',
  },
}
SCSS
$custom: #338110;
$custom-light: #75a65b;
$custom-dark: #000000;
JSON
{
  "hex": "#338110",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 16
  },
  "hsl": {
    "h": 101.416,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53353,
    "c": 0.15965,
    "h": 138.7
  },
  "luminance": 0.16442
}

Semantic roles & 50–950 ramp

primary
#338110
secondary
#8F36B7
accent
#33F4B9
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #338110

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

Preview Lab → · Contrast checker → · Palette generator →

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