#338D10#338D10

#338D10 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.173 H 139.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#338D10
RGBrgb(51, 141, 16)
HSLhsl(103, 80%, 31%)
HSVhsv(103, 89%, 55%)
CMYKcmyk(63.8%, 0%, 88.7%, 44.7%)
CIE-LABlab(51.60, -47.84, 51.59)
CIE-LCHlch(51.60, 70.35, 132.84°)
OKLaboklab(56.71% -0.1317 0.1129)
OKLCHoklch(56.71% 0.173 139.4)
XYZxyz(10.9832, 19.7899, 3.7312)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338D10 #6A108D
analogous
#718D10 #338D10 #108D2B
triadic
#338D10 #10338D #8D1033
tetradic
#338D10 #10718D #6A108D #8D2B10
square
#338D10 #10718D #6A108D #8D2B10
split-complementary
#338D10 #2B108D #8D1071
monochromatic
#0B1F04 #1F560A #338D10 #47C416 #63E730

Accessibility & contrast

On white

4.24
#338D10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#338D10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338D10
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338D10#FFFFFF#000000##000000
##338D101.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#867822
Tritanopia (blue-blind)
#278877
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #338d10;
/* rgb */ color: rgb(51, 141, 16);
/* oklch */ color: oklch(56.7% 0.173 139.4);
Tailwind
colors: {
  custom: {
    50: '#77af5d',
    500: '#338d10',
    950: '#000000',
  },
}
SCSS
$custom: #338d10;
$custom-light: #77af5d;
$custom-dark: #000000;
JSON
{
  "hex": "#338d10",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 16
  },
  "hsl": {
    "h": 103.2,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56706,
    "c": 0.17348,
    "h": 139.4
  },
  "luminance": 0.19791
}

Semantic roles & 50–950 ramp

primary
#338D10
secondary
#9B37C2
accent
#32F6BF
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #338D10

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

Preview Lab → · Contrast checker → · Palette generator →

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