#398128#398128

#398128 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.8% C 0.143 H 140.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#398128
RGBrgb(57, 129, 40)
HSLhsl(109, 53%, 33%)
HSVhsv(109, 69%, 51%)
CMYKcmyk(55.8%, 0%, 69%, 49.4%)
CIE-LABlab(47.91, -40.06, 39.97)
CIE-LCHlch(47.91, 56.59, 135.06°)
OKLaboklab(53.76% -0.1098 0.0919)
OKLCHoklch(53.76% 0.143 140.1)
XYZxyz(9.9202, 16.7228, 4.7121)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398128 #702881
analogous
#658128 #398128 #288143
triadic
#398128 #283981 #812839
tetradic
#398128 #286581 #702881 #814328
square
#398128 #286581 #702881 #814328
split-complementary
#398128 #432881 #812865
monochromatic
#10240B #24521A #398128 #4EB036 #6ECB58

Accessibility & contrast

On white

4.83
#398128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#398128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398128
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398128#FFFFFF#000000##FFFFFF
##3981281.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85751C
Deuteranopia (green-blind)
#7B6F30
Tritanopia (blue-blind)
#317D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #398128;
/* rgb */ color: rgb(57, 129, 40);
/* oklch */ color: oklch(53.8% 0.143 140.1);
Tailwind
colors: {
  custom: {
    50: '#77a667',
    500: '#398128',
    950: '#000000',
  },
}
SCSS
$custom: #398128;
$custom-light: #77a667;
$custom-dark: #000000;
JSON
{
  "hex": "#398128",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 108.539,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53758,
    "c": 0.1432,
    "h": 140.1
  },
  "luminance": 0.16724
}

Semantic roles & 50–950 ramp

primary
#398128
secondary
#9F54B0
accent
#4CDCC1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #398128

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

Preview Lab → · Contrast checker → · Palette generator →

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