#398226#398226

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

Color values

HEX#398226
RGBrgb(57, 130, 38)
HSLhsl(108, 55%, 33%)
HSVhsv(108, 71%, 51%)
CMYKcmyk(56.2%, 0%, 70.8%, 49%)
CIE-LABlab(48.23, -40.65, 41.17)
CIE-LCHlch(48.23, 57.86, 134.63°)
OKLaboklab(54.02% -0.1116 0.0941)
OKLCHoklch(54.02% 0.146 139.8)
XYZxyz(10.0194, 16.9742, 4.5817)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398226 #6F2682
analogous
#678226 #398226 #268241
triadic
#398226 #263982 #822639
tetradic
#398226 #266782 #6F2682 #824126
square
#398226 #266782 #6F2682 #824126
split-complementary
#398226 #412682 #822667
monochromatic
#0F230A #245318 #398226 #4EB134 #6ECD55

Accessibility & contrast

On white

4.78
#398226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#398226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398226
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398226#FFFFFF#000000##FFFFFF
##3982261.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867619
Deuteranopia (green-blind)
#7C702F
Tritanopia (blue-blind)
#317E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #398226;
/* rgb */ color: rgb(57, 130, 38);
/* oklch */ color: oklch(54.0% 0.146 139.8);
Tailwind
colors: {
  custom: {
    50: '#77a766',
    500: '#398226',
    950: '#000000',
  },
}
SCSS
$custom: #398226;
$custom-light: #77a766;
$custom-dark: #000000;
JSON
{
  "hex": "#398226",
  "rgb": {
    "r": 57,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 107.609,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54016,
    "c": 0.14599,
    "h": 139.8
  },
  "luminance": 0.16975
}

Semantic roles & 50–950 ramp

primary
#398226
secondary
#9E52B2
accent
#4ADEBF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #398226

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

Preview Lab → · Contrast checker → · Palette generator →

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