#338124#338124

#338124 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.5% C 0.149 H 140.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#338124
RGBrgb(51, 129, 36)
HSLhsl(110, 56%, 32%)
HSVhsv(110, 72%, 51%)
CMYKcmyk(60.5%, 0%, 72.1%, 49.4%)
CIE-LABlab(47.66, -42.10, 41.36)
CIE-LCHlch(47.66, 59.01, 135.51°)
OKLaboklab(53.49% -0.1152 0.0943)
OKLCHoklch(53.49% 0.149 140.7)
XYZxyz(9.5335, 16.5308, 4.3571)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338124 #722481
analogous
#618124 #338124 #248144
triadic
#338124 #243381 #812433
tetradic
#338124 #246181 #722481 #814424
square
#338124 #246181 #722481 #814424
split-complementary
#338124 #442481 #812461
monochromatic
#0D2109 #205117 #338124 #46B131 #65CE51

Accessibility & contrast

On white

4.88
#338124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#338124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338124
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338124#FFFFFF#000000##FFFFFF
##3381241.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847516
Deuteranopia (green-blind)
#7B6F2D
Tritanopia (blue-blind)
#287D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #338124;
/* rgb */ color: rgb(51, 129, 36);
/* oklch */ color: oklch(53.5% 0.149 140.7);
Tailwind
colors: {
  custom: {
    50: '#74a664',
    500: '#338124',
    950: '#000000',
  },
}
SCSS
$custom: #338124;
$custom-light: #74a664;
$custom-dark: #000000;
JSON
{
  "hex": "#338124",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 110.323,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53486,
    "c": 0.14891,
    "h": 140.7
  },
  "luminance": 0.16532
}

Semantic roles & 50–950 ramp

primary
#338124
secondary
#A24EB2
accent
#48E0C7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #338124

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

Preview Lab → · Contrast checker → · Palette generator →

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