#338013#338013

#338013 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.157 H 138.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#338013
RGBrgb(51, 128, 19)
HSLhsl(102, 74%, 29%)
HSVhsv(102, 85%, 50%)
CMYKcmyk(60.2%, 0%, 85.2%, 49.8%)
CIE-LABlab(47.22, -42.92, 46.93)
CIE-LCHlch(47.22, 63.59, 132.45°)
OKLaboklab(53.09% -0.1184 0.1035)
OKLCHoklch(53.09% 0.157 138.9)
XYZxyz(9.2016, 16.1884, 3.2557)
Luminance0.1619 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338013 #601380
analogous
#6A8013 #338013 #138029
triadic
#338013 #133380 #801333
tetradic
#338013 #136A80 #601380 #802913
square
#338013 #136A80 #601380 #802913
split-complementary
#338013 #291380 #80136A
monochromatic
#0B1B04 #1E4B0B #338013 #48B51B #62E02D

Accessibility & contrast

On white

4.96
#338013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#338013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338013
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338013#FFFFFF#000000##FFFFFF
##3380131.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#2B7B6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #338013;
/* rgb */ color: rgb(51, 128, 19);
/* oklch */ color: oklch(53.1% 0.157 138.9);
Tailwind
colors: {
  custom: {
    50: '#75a65c',
    500: '#338013',
    950: '#000000',
  },
}
SCSS
$custom: #338013;
$custom-light: #75a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#338013",
  "rgb": {
    "r": 51,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 102.385,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53087,
    "c": 0.15726,
    "h": 138.9
  },
  "luminance": 0.16189
}

Semantic roles & 50–950 ramp

primary
#338013
secondary
#9139B5
accent
#37F1BA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #338013

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

Preview Lab → · Contrast checker → · Palette generator →

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