#338114#338114

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

Color values

HEX#338114
RGBrgb(51, 129, 20)
HSLhsl(103, 73%, 29%)
HSVhsv(103, 84%, 51%)
CMYKcmyk(60.5%, 0%, 84.5%, 49.4%)
CIE-LABlab(47.56, -43.24, 46.95)
CIE-LCHlch(47.56, 63.83, 132.64°)
OKLaboklab(53.37% -0.1192 0.1037)
OKLCHoklch(53.37% 0.158 139)
XYZxyz(9.3414, 16.4540, 3.3454)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338114 #621481
analogous
#6A8114 #338114 #14812C
triadic
#338114 #143381 #811433
tetradic
#338114 #146A81 #621481 #812C14
square
#338114 #146A81 #621481 #812C14
split-complementary
#338114 #2C1481 #81146A
monochromatic
#0A1A04 #1E4C0C #338114 #48B61C #62DF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338114#FFFFFF#000000##FFFFFF
##3381141.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: #338114;
/* rgb */ color: rgb(51, 129, 20);
/* oklch */ color: oklch(53.4% 0.158 139.0);
Tailwind
colors: {
  custom: {
    50: '#75a65d',
    500: '#338114',
    950: '#000000',
  },
}
SCSS
$custom: #338114;
$custom-light: #75a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#338114",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 102.936,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53373,
    "c": 0.15802,
    "h": 139
  },
  "luminance": 0.16455
}

Semantic roles & 50–950 ramp

primary
#338114
secondary
#933BB6
accent
#38F0BC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #338114

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

Preview Lab → · Contrast checker → · Palette generator →

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