#338E14#338E14

#338E14 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.173 H 139.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#338E14
RGBrgb(51, 142, 20)
HSLhsl(105, 75%, 32%)
HSVhsv(105, 86%, 56%)
CMYKcmyk(64.1%, 0%, 85.9%, 44.3%)
CIE-LABlab(51.95, -48.02, 50.93)
CIE-LCHlch(51.95, 70.00, 133.31°)
OKLaboklab(57% -0.1321 0.112)
OKLCHoklch(57% 0.173 139.7)
XYZxyz(11.1640, 20.0992, 3.9529)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E14 #6F148E
analogous
#708E14 #338E14 #148E32
triadic
#338E14 #14338E #8E1433
tetradic
#338E14 #14708E #6F148E #8E3214
square
#338E14 #14708E #6F148E #8E3214
split-complementary
#338E14 #32148E #8E1470
monochromatic
#0C2305 #20580C #338E14 #46C41C #64E339

Accessibility & contrast

On white

4.18
#338E14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#338E14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E14
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E14#FFFFFF#000000##000000
##338E141.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#268978
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338e14;
/* rgb */ color: rgb(51, 142, 20);
/* oklch */ color: oklch(57.0% 0.173 139.7);
Tailwind
colors: {
  custom: {
    50: '#78b05f',
    500: '#338e14',
    950: '#000000',
  },
}
SCSS
$custom: #338e14;
$custom-light: #78b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#338e14",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 20
  },
  "hsl": {
    "h": 104.754,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57001,
    "c": 0.17318,
    "h": 139.7
  },
  "luminance": 0.201
}

Semantic roles & 50–950 ramp

primary
#338E14
secondary
#A03CC2
accent
#36F2C2
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #338E14

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

Preview Lab → · Contrast checker → · Palette generator →

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