#398228#398228

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

Color values

HEX#398228
RGBrgb(57, 130, 40)
HSLhsl(109, 53%, 33%)
HSVhsv(109, 69%, 51%)
CMYKcmyk(56.2%, 0%, 69.2%, 49%)
CIE-LABlab(48.24, -40.46, 40.33)
CIE-LCHlch(48.24, 57.13, 135.09°)
OKLaboklab(54.04% -0.1109 0.0926)
OKLCHoklch(54.04% 0.145 140.1)
XYZxyz(10.0525, 16.9875, 4.7563)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398228 #712882
analogous
#668228 #398228 #288244
triadic
#398228 #283982 #822839
tetradic
#398228 #286682 #712882 #824428
square
#398228 #286682 #712882 #824428
split-complementary
#398228 #442882 #822866
monochromatic
#10240B #24531A #398228 #4EB136 #6ECC59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398228#FFFFFF#000000##FFFFFF
##3982281.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #398228;
/* rgb */ color: rgb(57, 130, 40);
/* oklch */ color: oklch(54.0% 0.145 140.1);
Tailwind
colors: {
  custom: {
    50: '#77a767',
    500: '#398228',
    950: '#000000',
  },
}
SCSS
$custom: #398228;
$custom-light: #77a767;
$custom-dark: #000000;
JSON
{
  "hex": "#398228",
  "rgb": {
    "r": 57,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 108.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54035,
    "c": 0.14453,
    "h": 140.1
  },
  "luminance": 0.16988
}

Semantic roles & 50–950 ramp

primary
#398228
secondary
#A055B1
accent
#4BDCC1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #398228

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

Preview Lab → · Contrast checker → · Palette generator →

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