#338016#338016

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

Color values

HEX#338016
RGBrgb(51, 128, 22)
HSLhsl(104, 71%, 29%)
HSVhsv(104, 83%, 50%)
CMYKcmyk(60.2%, 0%, 82.8%, 49.8%)
CIE-LABlab(47.23, -42.75, 46.05)
CIE-LCHlch(47.23, 62.84, 132.87°)
OKLaboklab(53.1% -0.1178 0.1021)
OKLCHoklch(53.1% 0.156 139.1)
XYZxyz(9.2289, 16.1993, 3.3993)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338016 #631680
analogous
#688016 #338016 #16802E
triadic
#338016 #163380 #801633
tetradic
#338016 #166880 #631680 #802E16
square
#338016 #166880 #631680 #802E16
split-complementary
#338016 #2E1680 #801668
monochromatic
#0A1A04 #1E4C0D #338016 #48B41F #62DC34

Accessibility & contrast

On white

4.95
#338016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #338016
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338016#FFFFFF#000000##FFFFFF
##3380161.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #338016;
/* rgb */ color: rgb(51, 128, 22);
/* oklch */ color: oklch(53.1% 0.156 139.1);
Tailwind
colors: {
  custom: {
    50: '#75a65d',
    500: '#338016',
    950: '#000000',
  },
}
SCSS
$custom: #338016;
$custom-light: #75a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#338016",
  "rgb": {
    "r": 51,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 103.585,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53103,
    "c": 0.1559,
    "h": 139.1
  },
  "luminance": 0.162
}

Semantic roles & 50–950 ramp

primary
#338016
secondary
#943DB5
accent
#3AEDBC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #338016

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

Preview Lab → · Contrast checker → · Palette generator →

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