#398921#398921

#398921 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.158 H 139.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#398921
RGBrgb(57, 137, 33)
HSLhsl(106, 61%, 33%)
HSVhsv(106, 76%, 54%)
CMYKcmyk(58.4%, 0%, 75.9%, 46.3%)
CIE-LABlab(50.53, -43.81, 45.54)
CIE-LCHlch(50.53, 63.19, 133.90°)
OKLaboklab(55.91% -0.1204 0.1026)
OKLCHoklch(55.91% 0.158 139.6)
XYZxyz(10.9071, 18.8700, 4.5061)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398921 #712189
analogous
#6D8921 #398921 #21893D
triadic
#398921 #213989 #892139
tetradic
#398921 #216D89 #712189 #893D21
square
#398921 #216D89 #712189 #893D21
split-complementary
#398921 #3D2189 #89216D
monochromatic
#102609 #245815 #398921 #4EBA2D #6ED550

Accessibility & contrast

On white

4.40
#398921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#398921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398921
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398921#FFFFFF#000000##000000
##3989211.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0C
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#308475
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #398921;
/* rgb */ color: rgb(57, 137, 33);
/* oklch */ color: oklch(55.9% 0.158 139.6);
Tailwind
colors: {
  custom: {
    50: '#79ac64',
    500: '#398921',
    950: '#000000',
  },
}
SCSS
$custom: #398921;
$custom-light: #79ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#398921",
  "rgb": {
    "r": 57,
    "g": 137,
    "b": 33
  },
  "hsl": {
    "h": 106.154,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55907,
    "c": 0.1582,
    "h": 139.6
  },
  "luminance": 0.18871
}

Semantic roles & 50–950 ramp

primary
#398921
secondary
#A04EB8
accent
#44E4BF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398921

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

Preview Lab → · Contrast checker → · Palette generator →

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