#398120#398120

#398120 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.149 H 139.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#398120
RGBrgb(57, 129, 32)
HSLhsl(105, 60%, 32%)
HSVhsv(105, 75%, 51%)
CMYKcmyk(55.8%, 0%, 75.2%, 49.4%)
CIE-LABlab(47.85, -40.76, 43.22)
CIE-LCHlch(47.85, 59.41, 133.32°)
OKLaboklab(53.69% -0.1123 0.0976)
OKLCHoklch(53.69% 0.149 139)
XYZxyz(9.7979, 16.6739, 4.0683)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398120 #682081
analogous
#6A8120 #398120 #208138
triadic
#398120 #203981 #812039
tetradic
#398120 #206A81 #682081 #813820
square
#398120 #206A81 #682081 #813820
split-complementary
#398120 #382081 #81206A
monochromatic
#0E1F08 #235014 #398120 #4FB22C #6DD249

Accessibility & contrast

On white

4.84
#398120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #398120
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398120#FFFFFF#000000##FFFFFF
##3981201.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750E
Deuteranopia (green-blind)
#7C6F2A
Tritanopia (blue-blind)
#327C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #398120;
/* rgb */ color: rgb(57, 129, 32);
/* oklch */ color: oklch(53.7% 0.149 139.0);
Tailwind
colors: {
  custom: {
    50: '#78a662',
    500: '#398120',
    950: '#000000',
  },
}
SCSS
$custom: #398120;
$custom-light: #78a662;
$custom-dark: #000000;
JSON
{
  "hex": "#398120",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 104.536,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53687,
    "c": 0.14876,
    "h": 139
  },
  "luminance": 0.16675
}

Semantic roles & 50–950 ramp

primary
#398120
secondary
#9849B4
accent
#44E3BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #398120

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

Preview Lab → · Contrast checker → · Palette generator →

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