#398028#398028

#398028 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.5% C 0.142 H 140.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#398028
RGBrgb(57, 128, 40)
HSLhsl(108, 52%, 33%)
HSVhsv(108, 69%, 50%)
CMYKcmyk(55.5%, 0%, 68.8%, 49.8%)
CIE-LABlab(47.57, -39.65, 39.61)
CIE-LCHlch(47.57, 56.04, 135.03°)
OKLaboklab(53.48% -0.1087 0.0911)
OKLCHoklch(53.48% 0.142 140)
XYZxyz(9.7891, 16.4606, 4.6684)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398028 #6F2880
analogous
#658028 #398028 #288043
triadic
#398028 #283980 #802839
tetradic
#398028 #286580 #6F2880 #804328
square
#398028 #286580 #6F2880 #804328
split-complementary
#398028 #432880 #802865
monochromatic
#0F230B #245119 #398028 #4EAF37 #6ECB58

Accessibility & contrast

On white

4.89
#398028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#398028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398028
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398028#FFFFFF#000000##FFFFFF
##3980281.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751C
Deuteranopia (green-blind)
#7A6F30
Tritanopia (blue-blind)
#317C6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #398028;
/* rgb */ color: rgb(57, 128, 40);
/* oklch */ color: oklch(53.5% 0.142 140.0);
Tailwind
colors: {
  custom: {
    50: '#77a567',
    500: '#398028',
    950: '#000000',
  },
}
SCSS
$custom: #398028;
$custom-light: #77a567;
$custom-dark: #000000;
JSON
{
  "hex": "#398028",
  "rgb": {
    "r": 57,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 108.409,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53482,
    "c": 0.14187,
    "h": 140
  },
  "luminance": 0.16461
}

Semantic roles & 50–950 ramp

primary
#398028
secondary
#9E54B0
accent
#4CDCC0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #398028

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

Preview Lab → · Contrast checker → · Palette generator →

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