#398030#398030

#398030 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.6% C 0.135 H 141.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#398030
RGBrgb(57, 128, 48)
HSLhsl(113, 45%, 35%)
HSVhsv(113, 63%, 50%)
CMYKcmyk(55.5%, 0%, 62.5%, 49.8%)
CIE-LABlab(47.65, -38.79, 35.99)
CIE-LCHlch(47.65, 52.91, 137.15°)
OKLaboklab(53.57% -0.1059 0.0843)
OKLCHoklch(53.57% 0.135 141.5)
XYZxyz(9.9395, 16.5208, 5.4608)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398030 #773080
analogous
#618030 #398030 #30804F
triadic
#398030 #303980 #803039
tetradic
#398030 #306180 #773080 #804F30
square
#398030 #306180 #773080 #804F30
split-complementary
#398030 #4F3080 #803061
monochromatic
#11270F #25531F #398030 #4DAD41 #70C565

Accessibility & contrast

On white

4.88
#398030 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#398030 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398030
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398030#FFFFFF#000000##FFFFFF
##3980301.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837527
Deuteranopia (green-blind)
#7A6F36
Tritanopia (blue-blind)
#307C6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #398030;
/* rgb */ color: rgb(57, 128, 48);
/* oklch */ color: oklch(53.6% 0.135 141.5);
Tailwind
colors: {
  custom: {
    50: '#77a56b',
    500: '#398030',
    950: '#000000',
  },
}
SCSS
$custom: #398030;
$custom-light: #77a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#398030",
  "rgb": {
    "r": 57,
    "g": 128,
    "b": 48
  },
  "hsl": {
    "h": 113.25,
    "s": 45.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53571,
    "c": 0.13538,
    "h": 141.5
  },
  "luminance": 0.16522
}

Semantic roles & 50–950 ramp

primary
#398030
secondary
#A45FAC
accent
#53D5C6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #398030

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

Preview Lab → · Contrast checker → · Palette generator →

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