#338524#338524

#338524 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.154 H 140.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#338524
RGBrgb(51, 133, 36)
HSLhsl(111, 57%, 33%)
HSVhsv(111, 73%, 52%)
CMYKcmyk(61.7%, 0%, 72.9%, 47.8%)
CIE-LABlab(49.01, -43.63, 42.76)
CIE-LCHlch(49.01, 61.09, 135.58°)
OKLaboklab(54.6% -0.1194 0.0973)
OKLCHoklch(54.6% 0.154 140.8)
XYZxyz(10.0707, 17.6053, 4.5362)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338524 #762485
analogous
#638524 #338524 #248546
triadic
#338524 #243385 #852433
tetradic
#338524 #246385 #762485 #854624
square
#338524 #246385 #762485 #854624
split-complementary
#338524 #462485 #852463
monochromatic
#0E250A #215517 #338524 #45B531 #66D053

Accessibility & contrast

On white

4.64
#338524 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#338524 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338524
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338524#FFFFFF#000000##FFFFFF
##3385241.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897914
Deuteranopia (green-blind)
#7E722D
Tritanopia (blue-blind)
#278172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338524;
/* rgb */ color: rgb(51, 133, 36);
/* oklch */ color: oklch(54.6% 0.154 140.8);
Tailwind
colors: {
  custom: {
    50: '#75a965',
    500: '#338524',
    950: '#000000',
  },
}
SCSS
$custom: #338524;
$custom-light: #75a965;
$custom-dark: #000000;
JSON
{
  "hex": "#338524",
  "rgb": {
    "r": 51,
    "g": 133,
    "b": 36
  },
  "hsl": {
    "h": 110.722,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54601,
    "c": 0.15399,
    "h": 140.8
  },
  "luminance": 0.17606
}

Semantic roles & 50–950 ramp

primary
#338524
secondary
#A550B4
accent
#47E1C9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338524

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

Preview Lab → · Contrast checker → · Palette generator →

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