#398229#398229

#398229 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.144 H 140.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#398229
RGBrgb(57, 130, 41)
HSLhsl(109, 52%, 34%)
HSVhsv(109, 68%, 51%)
CMYKcmyk(56.2%, 0%, 68.5%, 49%)
CIE-LABlab(48.25, -40.36, 39.90)
CIE-LCHlch(48.25, 56.75, 135.33°)
OKLaboklab(54.05% -0.1106 0.0919)
OKLCHoklch(54.05% 0.144 140.3)
XYZxyz(10.0698, 16.9944, 4.8470)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398229 #722982
analogous
#658229 #398229 #298245
triadic
#398229 #293982 #822939
tetradic
#398229 #296582 #722982 #824529
square
#398229 #296582 #722982 #824529
split-complementary
#398229 #452982 #822965
monochromatic
#10250C #25531A #398229 #4DB138 #6FCB5A

Accessibility & contrast

On white

4.77
#398229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#398229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398229
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398229#FFFFFF#000000##FFFFFF
##3982291.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86761D
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#317E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398229;
/* rgb */ color: rgb(57, 130, 41);
/* oklch */ color: oklch(54.0% 0.144 140.3);
Tailwind
colors: {
  custom: {
    50: '#77a767',
    500: '#398229',
    950: '#000000',
  },
}
SCSS
$custom: #398229;
$custom-light: #77a767;
$custom-dark: #000000;
JSON
{
  "hex": "#398229",
  "rgb": {
    "r": 57,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 109.213,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54045,
    "c": 0.14377,
    "h": 140.3
  },
  "luminance": 0.16995
}

Semantic roles & 50–950 ramp

primary
#398229
secondary
#A056B0
accent
#4CDBC2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #398229

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

Preview Lab → · Contrast checker → · Palette generator →

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