#398720#398720

#398720 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.156 H 139.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#398720
RGBrgb(57, 135, 32)
HSLhsl(105, 62%, 33%)
HSVhsv(105, 76%, 53%)
CMYKcmyk(57.8%, 0%, 76.3%, 47.1%)
CIE-LABlab(49.86, -43.12, 45.23)
CIE-LCHlch(49.86, 62.49, 133.63°)
OKLaboklab(55.35% -0.1186 0.1018)
OKLCHoklch(55.35% 0.156 139.4)
XYZxyz(10.6116, 18.3012, 4.3395)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398720 #6E2087
analogous
#6C8720 #398720 #20873A
triadic
#398720 #203987 #872039
tetradic
#398720 #206C87 #6E2087 #873A20
square
#398720 #206C87 #6E2087 #873A20
split-complementary
#398720 #3A2087 #87206C
monochromatic
#0F2409 #245614 #398720 #4EB82C #6ED54D

Accessibility & contrast

On white

4.51
#398720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#398720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398720
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398720#FFFFFF#000000##000000
##3987201.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0B
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#318273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #398720;
/* rgb */ color: rgb(57, 135, 32);
/* oklch */ color: oklch(55.3% 0.156 139.4);
Tailwind
colors: {
  custom: {
    50: '#79ab63',
    500: '#398720',
    950: '#000000',
  },
}
SCSS
$custom: #398720;
$custom-light: #79ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#398720",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 105.437,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55347,
    "c": 0.15632,
    "h": 139.4
  },
  "luminance": 0.18302
}

Semantic roles & 50–950 ramp

primary
#398720
secondary
#9D4BB8
accent
#43E5BE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398720

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

Preview Lab → · Contrast checker → · Palette generator →

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