#398621#398621

#398621 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.1% C 0.154 H 139.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#398621
RGBrgb(57, 134, 33)
HSLhsl(106, 60%, 33%)
HSVhsv(106, 75%, 53%)
CMYKcmyk(57.5%, 0%, 75.4%, 47.5%)
CIE-LABlab(49.53, -42.65, 44.53)
CIE-LCHlch(49.53, 61.66, 133.77°)
OKLaboklab(55.08% -0.1173 0.1005)
OKLCHoklch(55.08% 0.154 139.4)
XYZxyz(10.4865, 18.0290, 4.3659)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398621 #6E2186
analogous
#6B8621 #398621 #21863C
triadic
#398621 #213986 #862139
tetradic
#398621 #216B86 #6E2186 #863C21
square
#398621 #216B86 #6E2186 #863C21
split-complementary
#398621 #3C2186 #86216B
monochromatic
#0F2409 #245515 #398621 #4EB72D #6ED34E

Accessibility & contrast

On white

4.56
#398621 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#398621 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398621
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398621#FFFFFF#000000##000000
##3986211.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0E
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#318172
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #398621;
/* rgb */ color: rgb(57, 134, 33);
/* oklch */ color: oklch(55.1% 0.154 139.4);
Tailwind
colors: {
  custom: {
    50: '#78aa63',
    500: '#398621',
    950: '#000000',
  },
}
SCSS
$custom: #398621;
$custom-light: #78aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#398621",
  "rgb": {
    "r": 57,
    "g": 134,
    "b": 33
  },
  "hsl": {
    "h": 105.743,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55079,
    "c": 0.15446,
    "h": 139.4
  },
  "luminance": 0.1803
}

Semantic roles & 50–950 ramp

primary
#398621
secondary
#9D4CB7
accent
#44E4BE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398621

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

Preview Lab → · Contrast checker → · Palette generator →

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