#338232#338232

#338232 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.139 H 143.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#338232
RGBrgb(51, 130, 50)
HSLhsl(119, 44%, 35%)
HSVhsv(119, 62%, 51%)
CMYKcmyk(60.8%, 0%, 61.5%, 49%)
CIE-LABlab(48.13, -41.00, 35.51)
CIE-LCHlch(48.13, 54.24, 139.10°)
OKLaboklab(53.92% -0.1114 0.0835)
OKLCHoklch(53.92% 0.139 143.1)
XYZxyz(9.9230, 16.8985, 5.7558)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338232 #813282
analogous
#5B8232 #338232 #328259
triadic
#338232 #323382 #823233
tetradic
#338232 #325B82 #813282 #825932
square
#338232 #325B82 #813282 #825932
split-complementary
#338232 #593282 #82325B
monochromatic
#102A10 #225621 #338232 #44AE43 #6AC569

Accessibility & contrast

On white

4.79
#338232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#338232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338232
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338232#FFFFFF#000000##FFFFFF
##3382321.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85762A
Deuteranopia (green-blind)
#7B7038
Tritanopia (blue-blind)
#257E71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #338232;
/* rgb */ color: rgb(51, 130, 50);
/* oklch */ color: oklch(53.9% 0.139 143.1);
Tailwind
colors: {
  custom: {
    50: '#74a76d',
    500: '#338232',
    950: '#000000',
  },
}
SCSS
$custom: #338232;
$custom-light: #74a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#338232",
  "rgb": {
    "r": 51,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 119.25,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.53915,
    "c": 0.13926,
    "h": 143.1
  },
  "luminance": 0.16899
}

Semantic roles & 50–950 ramp

primary
#338232
secondary
#AC63AD
accent
#54D4D3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #338232

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

Preview Lab → · Contrast checker → · Palette generator →

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