#398122#398122

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

Color values

HEX#398122
RGBrgb(57, 129, 34)
HSLhsl(105, 58%, 32%)
HSVhsv(105, 74%, 51%)
CMYKcmyk(55.8%, 0%, 73.6%, 49.4%)
CIE-LABlab(47.86, -40.60, 42.44)
CIE-LCHlch(47.86, 58.73, 133.73°)
OKLaboklab(53.7% -0.1117 0.0963)
OKLCHoklch(53.7% 0.147 139.2)
XYZxyz(9.8259, 16.6851, 4.2158)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398122 #6A2281
analogous
#698122 #398122 #22813B
triadic
#398122 #223981 #812239
tetradic
#398122 #226981 #6A2281 #813B22
square
#398122 #226981 #6A2281 #813B22
split-complementary
#398122 #3B2281 #812269
monochromatic
#0E2008 #245115 #398122 #4EB12F #6DD04D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #398122;
/* rgb */ color: rgb(57, 129, 34);
/* oklch */ color: oklch(53.7% 0.147 139.2);
Tailwind
colors: {
  custom: {
    50: '#77a663',
    500: '#398122',
    950: '#000000',
  },
}
SCSS
$custom: #398122;
$custom-light: #77a663;
$custom-dark: #000000;
JSON
{
  "hex": "#398122",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 105.474,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53703,
    "c": 0.14745,
    "h": 139.2
  },
  "luminance": 0.16686
}

Semantic roles & 50–950 ramp

primary
#398122
secondary
#9A4BB3
accent
#46E1BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #398122

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

Preview Lab → · Contrast checker → · Palette generator →

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