#338525#338525

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

Color values

HEX#338525
RGBrgb(51, 133, 37)
HSLhsl(111, 56%, 33%)
HSVhsv(111, 72%, 52%)
CMYKcmyk(61.7%, 0%, 72.2%, 47.8%)
CIE-LABlab(49.02, -43.55, 42.36)
CIE-LCHlch(49.02, 60.75, 135.79°)
OKLaboklab(54.61% -0.1191 0.0966)
OKLCHoklch(54.61% 0.153 141)
XYZxyz(10.0862, 17.6115, 4.6177)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338525 #772585
analogous
#638525 #338525 #258547
triadic
#338525 #253385 #852533
tetradic
#338525 #256385 #772585 #854725
square
#338525 #256385 #772585 #854725
split-complementary
#338525 #472585 #852563
monochromatic
#0E250A #215518 #338525 #45B532 #67D055

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338525#FFFFFF#000000##FFFFFF
##3385251.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)
#887916
Deuteranopia (green-blind)
#7E722E
Tritanopia (blue-blind)
#278172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338525;
/* rgb */ color: rgb(51, 133, 37);
/* oklch */ color: oklch(54.6% 0.153 141.0);
Tailwind
colors: {
  custom: {
    50: '#75a965',
    500: '#338525',
    950: '#000000',
  },
}
SCSS
$custom: #338525;
$custom-light: #75a965;
$custom-dark: #000000;
JSON
{
  "hex": "#338525",
  "rgb": {
    "r": 51,
    "g": 133,
    "b": 37
  },
  "hsl": {
    "h": 111.25,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5461,
    "c": 0.15331,
    "h": 141
  },
  "luminance": 0.17612
}

Semantic roles & 50–950 ramp

primary
#338525
secondary
#A652B4
accent
#48E0CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #338525

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

Preview Lab → · Contrast checker → · Palette generator →

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