#398121#398121

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

Color values

HEX#398121
RGBrgb(57, 129, 33)
HSLhsl(105, 59%, 32%)
HSVhsv(105, 74%, 51%)
CMYKcmyk(55.8%, 0%, 74.4%, 49.4%)
CIE-LABlab(47.85, -40.68, 42.83)
CIE-LCHlch(47.85, 59.07, 133.52°)
OKLaboklab(53.7% -0.112 0.0969)
OKLCHoklch(53.7% 0.148 139.1)
XYZxyz(9.8117, 16.6794, 4.1410)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398121 #692181
analogous
#698121 #398121 #218139
triadic
#398121 #213981 #812139
tetradic
#398121 #216981 #692181 #813921
square
#398121 #216981 #692181 #813921
split-complementary
#398121 #392181 #812169
monochromatic
#0E2008 #235015 #398121 #4FB22D #6DD14B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398121#FFFFFF#000000##FFFFFF
##3981211.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)
#857510
Deuteranopia (green-blind)
#7C6F2B
Tritanopia (blue-blind)
#327D6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #398121;
/* rgb */ color: rgb(57, 129, 33);
/* oklch */ color: oklch(53.7% 0.148 139.1);
Tailwind
colors: {
  custom: {
    50: '#77a663',
    500: '#398121',
    950: '#000000',
  },
}
SCSS
$custom: #398121;
$custom-light: #77a663;
$custom-dark: #000000;
JSON
{
  "hex": "#398121",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 105,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53695,
    "c": 0.14811,
    "h": 139.1
  },
  "luminance": 0.1668
}

Semantic roles & 50–950 ramp

primary
#398121
secondary
#994AB4
accent
#45E2BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #398121

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

Preview Lab → · Contrast checker → · Palette generator →

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