#338532#338532

#338532 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.143 H 143.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#338532
RGBrgb(51, 133, 50)
HSLhsl(119, 45%, 36%)
HSVhsv(119, 62%, 52%)
CMYKcmyk(61.7%, 0%, 62.4%, 47.8%)
CIE-LABlab(49.14, -42.18, 36.67)
CIE-LCHlch(49.14, 55.89, 139.00°)
OKLaboklab(54.75% -0.1146 0.086)
OKLCHoklch(54.75% 0.143 143.1)
XYZxyz(10.3279, 17.7082, 5.8908)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338532 #843285
analogous
#5C8532 #338532 #32855A
triadic
#338532 #323385 #853233
tetradic
#338532 #325C85 #843285 #855A32
square
#338532 #325C85 #843285 #855A32
split-complementary
#338532 #5A3285 #85325C
monochromatic
#112C11 #225921 #338532 #44B143 #6BC76A

Accessibility & contrast

On white

4.62
#338532 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#338532 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338532
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338532#FFFFFF#000000##FFFFFF
##3385321.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887929
Deuteranopia (green-blind)
#7D7239
Tritanopia (blue-blind)
#248173
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #338532;
/* rgb */ color: rgb(51, 133, 50);
/* oklch */ color: oklch(54.7% 0.143 143.1);
Tailwind
colors: {
  custom: {
    50: '#74a96d',
    500: '#338532',
    950: '#000000',
  },
}
SCSS
$custom: #338532;
$custom-light: #74a96d;
$custom-dark: #000000;
JSON
{
  "hex": "#338532",
  "rgb": {
    "r": 51,
    "g": 133,
    "b": 50
  },
  "hsl": {
    "h": 119.277,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.54746,
    "c": 0.14333,
    "h": 143.1
  },
  "luminance": 0.17709
}

Semantic roles & 50–950 ramp

primary
#338532
secondary
#AE64AF
accent
#53D5D3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #338532

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

Preview Lab → · Contrast checker → · Palette generator →

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