#398C29#398C29

#398C29 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.157 H 140.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#398C29
RGBrgb(57, 140, 41)
HSLhsl(110, 55%, 35%)
HSVhsv(110, 71%, 55%)
CMYKcmyk(59.3%, 0%, 70.7%, 45.1%)
CIE-LABlab(51.59, -44.30, 43.46)
CIE-LCHlch(51.59, 62.06, 135.55°)
OKLaboklab(56.8% -0.1213 0.0993)
OKLCHoklch(56.8% 0.157 140.7)
XYZxyz(11.4651, 19.7851, 5.3121)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398C29 #7C298C
analogous
#6A8C29 #398C29 #298C4A
triadic
#398C29 #29398C #8C2939
tetradic
#398C29 #296A8C #7C298C #8C4A29
square
#398C29 #296A8C #7C298C #8C4A29
split-complementary
#398C29 #4A298C #8C296A
monochromatic
#122D0D #265D1B #398C29 #4CBB37 #71D05F

Accessibility & contrast

On white

4.24
#398C29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#398C29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398C29
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398C29#FFFFFF#000000##000000
##398C291.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1A
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#2E8778
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398c29;
/* rgb */ color: rgb(57, 140, 41);
/* oklch */ color: oklch(56.8% 0.157 140.7);
Tailwind
colors: {
  custom: {
    50: '#79ae68',
    500: '#398c29',
    950: '#000000',
  },
}
SCSS
$custom: #398c29;
$custom-light: #79ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#398c29",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 41
  },
  "hsl": {
    "h": 110.303,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56799,
    "c": 0.15676,
    "h": 140.7
  },
  "luminance": 0.19786
}

Semantic roles & 50–950 ramp

primary
#398C29
secondary
#A75BB6
accent
#4ADEC6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398C29

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

Preview Lab → · Contrast checker → · Palette generator →

#398C29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva