#398F32#398F32

#398F32 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.154 H 142.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#398F32
RGBrgb(57, 143, 50)
HSLhsl(115, 48%, 38%)
HSVhsv(115, 65%, 56%)
CMYKcmyk(60.1%, 0%, 65%, 43.9%)
CIE-LABlab(52.67, -44.56, 40.70)
CIE-LCHlch(52.67, 60.35, 137.60°)
OKLaboklab(57.71% -0.1214 0.0946)
OKLCHoklch(57.71% 0.154 142.1)
XYZxyz(12.0849, 20.7440, 6.3841)
Luminance0.2074 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F32 #88328F
analogous
#678F32 #398F32 #328F59
triadic
#398F32 #32398F #8F3239
tetradic
#398F32 #32678F #88328F #8F5932
square
#398F32 #32678F #88328F #8F5932
split-complementary
#398F32 #59328F #8F3267
monochromatic
#153412 #276222 #398F32 #4BBC42 #76CD6F

Accessibility & contrast

On white

4.08
#398F32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#398F32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F32
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F32#FFFFFF#000000##000000
##398F321.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928227
Deuteranopia (green-blind)
#877B3A
Tritanopia (blue-blind)
#2B8B7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #398f32;
/* rgb */ color: rgb(57, 143, 50);
/* oklch */ color: oklch(57.7% 0.154 142.1);
Tailwind
colors: {
  custom: {
    50: '#79b16e',
    500: '#398f32',
    950: '#000000',
  },
}
SCSS
$custom: #398f32;
$custom-light: #79b16e;
$custom-dark: #000000;
JSON
{
  "hex": "#398f32",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 50
  },
  "hsl": {
    "h": 115.484,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57711,
    "c": 0.15393,
    "h": 142.1
  },
  "luminance": 0.20745
}

Semantic roles & 50–950 ramp

primary
#398F32
secondary
#AF68B4
accent
#50D8CE
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #398F32

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

Preview Lab → · Contrast checker → · Palette generator →

#398F32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva