#398820#398820

#398820 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.158 H 139.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#398820
RGBrgb(57, 136, 32)
HSLhsl(106, 62%, 33%)
HSVhsv(106, 76%, 53%)
CMYKcmyk(58.1%, 0%, 76.5%, 46.7%)
CIE-LABlab(50.19, -43.50, 45.57)
CIE-LCHlch(50.19, 63.00, 133.67°)
OKLaboklab(55.62% -0.1197 0.1025)
OKLCHoklch(55.62% 0.158 139.4)
XYZxyz(10.7518, 18.5815, 4.3862)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398820 #6F2088
analogous
#6D8820 #398820 #20883B
triadic
#398820 #203988 #882039
tetradic
#398820 #206D88 #6F2088 #883B20
square
#398820 #206D88 #6F2088 #883B20
split-complementary
#398820 #3B2088 #88206D
monochromatic
#0F2509 #245614 #398820 #4EBA2C #6ED54D

Accessibility & contrast

On white

4.45
#398820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#398820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398820
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398820#FFFFFF#000000##000000
##3988201.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0B
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#308374
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #398820;
/* rgb */ color: rgb(57, 136, 32);
/* oklch */ color: oklch(55.6% 0.158 139.4);
Tailwind
colors: {
  custom: {
    50: '#79ab63',
    500: '#398820',
    950: '#000000',
  },
}
SCSS
$custom: #398820;
$custom-light: #79ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#398820",
  "rgb": {
    "r": 57,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 105.577,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55623,
    "c": 0.15756,
    "h": 139.4
  },
  "luminance": 0.18582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398820

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

Preview Lab → · Contrast checker → · Palette generator →

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