#338015#338015

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

Color values

HEX#338015
RGBrgb(51, 128, 21)
HSLhsl(103, 72%, 29%)
HSVhsv(103, 84%, 50%)
CMYKcmyk(60.2%, 0%, 83.6%, 49.8%)
CIE-LABlab(47.23, -42.81, 46.35)
CIE-LCHlch(47.23, 63.10, 132.73°)
OKLaboklab(53.1% -0.118 0.1026)
OKLCHoklch(53.1% 0.156 139)
XYZxyz(9.2194, 16.1955, 3.3495)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338015 #621580
analogous
#698015 #338015 #15802D
triadic
#338015 #153380 #801533
tetradic
#338015 #156980 #621580 #802D15
square
#338015 #156980 #621580 #802D15
split-complementary
#338015 #2D1580 #801569
monochromatic
#0A1A04 #1E4B0C #338015 #48B51E #62DD32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338015#FFFFFF#000000##FFFFFF
##3380151.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)
#7A6E22
Tritanopia (blue-blind)
#2B7B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #338015;
/* rgb */ color: rgb(51, 128, 21);
/* oklch */ color: oklch(53.1% 0.156 139.0);
Tailwind
colors: {
  custom: {
    50: '#75a65d',
    500: '#338015',
    950: '#000000',
  },
}
SCSS
$custom: #338015;
$custom-light: #75a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#338015",
  "rgb": {
    "r": 51,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 103.178,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53098,
    "c": 0.15637,
    "h": 139
  },
  "luminance": 0.16196
}

Semantic roles & 50–950 ramp

primary
#338015
secondary
#933CB5
accent
#39EFBC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #338015

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

Preview Lab → · Contrast checker → · Palette generator →

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