#398232#398232

#398232 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.136 H 141.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#398232
RGBrgb(57, 130, 50)
HSLhsl(115, 44%, 35%)
HSVhsv(115, 62%, 51%)
CMYKcmyk(56.2%, 0%, 61.5%, 49%)
CIE-LABlab(48.34, -39.38, 35.81)
CIE-LCHlch(48.34, 53.22, 137.72°)
OKLaboklab(54.15% -0.1074 0.0841)
OKLCHoklch(54.15% 0.136 141.9)
XYZxyz(10.2452, 17.0646, 5.7709)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398232 #7B3282
analogous
#618232 #398232 #328253
triadic
#398232 #323982 #823239
tetradic
#398232 #326182 #7B3282 #825332
square
#398232 #326182 #7B3282 #825332
split-complementary
#398232 #533282 #823261
monochromatic
#122A10 #265621 #398232 #4CAE43 #71C569

Accessibility & contrast

On white

4.76
#398232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#398232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398232
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398232#FFFFFF#000000##FFFFFF
##3982321.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857729
Deuteranopia (green-blind)
#7C7038
Tritanopia (blue-blind)
#2F7E71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398232;
/* rgb */ color: rgb(57, 130, 50);
/* oklch */ color: oklch(54.1% 0.136 141.9);
Tailwind
colors: {
  custom: {
    50: '#77a76d',
    500: '#398232',
    950: '#000000',
  },
}
SCSS
$custom: #398232;
$custom-light: #77a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#398232",
  "rgb": {
    "r": 57,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 114.75,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54146,
    "c": 0.13642,
    "h": 141.9
  },
  "luminance": 0.17065
}

Semantic roles & 50–950 ramp

primary
#398232
secondary
#A663AD
accent
#54D4C9
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #398232

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

Preview Lab → · Contrast checker → · Palette generator →

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