#338F14#338F14

#338F14 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.174 H 139.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#338F14
RGBrgb(51, 143, 20)
HSLhsl(105, 75%, 32%)
HSVhsv(105, 86%, 56%)
CMYKcmyk(64.3%, 0%, 86%, 43.9%)
CIE-LABlab(52.28, -48.37, 51.23)
CIE-LCHlch(52.28, 70.46, 133.36°)
OKLaboklab(57.28% -0.133 0.1127)
OKLCHoklch(57.28% 0.174 139.7)
XYZxyz(11.3135, 20.3981, 4.0027)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F14 #70148F
analogous
#718F14 #338F14 #148F33
triadic
#338F14 #14338F #8F1433
tetradic
#338F14 #14718F #70148F #8F3314
square
#338F14 #14718F #70148F #8F3314
split-complementary
#338F14 #33148F #8F1471
monochromatic
#0D2405 #20590C #338F14 #46C51C #65E33A

Accessibility & contrast

On white

4.13
#338F14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#338F14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F14
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F14#FFFFFF#000000##000000
##338F141.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#268A79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338f14;
/* rgb */ color: rgb(51, 143, 20);
/* oklch */ color: oklch(57.3% 0.174 139.7);
Tailwind
colors: {
  custom: {
    50: '#78b15f',
    500: '#338f14',
    950: '#000000',
  },
}
SCSS
$custom: #338f14;
$custom-light: #78b15f;
$custom-dark: #000000;
JSON
{
  "hex": "#338f14",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 20
  },
  "hsl": {
    "h": 104.878,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57278,
    "c": 0.17431,
    "h": 139.7
  },
  "luminance": 0.20399
}

Semantic roles & 50–950 ramp

primary
#338F14
secondary
#A13CC3
accent
#36F2C3
background
#F7FBF5
surface
#EEF6EA
border
#C9D0C6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #338F14

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

Preview Lab → · Contrast checker → · Palette generator →

#338F14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva