#398728#398728

#398728 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.151 H 140.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#398728
RGBrgb(57, 135, 40)
HSLhsl(109, 54%, 34%)
HSVhsv(109, 70%, 53%)
CMYKcmyk(57.8%, 0%, 70.4%, 47.1%)
CIE-LABlab(49.92, -42.45, 42.11)
CIE-LCHlch(49.92, 59.79, 135.23°)
OKLaboklab(55.41% -0.1163 0.0964)
OKLCHoklch(55.41% 0.151 140.4)
XYZxyz(10.7338, 18.3501, 4.9834)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398728 #762887
analogous
#698728 #398728 #288747
triadic
#398728 #283987 #872839
tetradic
#398728 #286987 #762887 #874728
square
#398728 #286987 #762887 #874728
split-complementary
#398728 #472887 #872869
monochromatic
#11290C #25581A #398728 #4DB636 #70CE5B

Accessibility & contrast

On white

4.50
#398728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#398728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398728
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398728#FFFFFF#000000##000000
##3987281.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1A
Deuteranopia (green-blind)
#817431
Tritanopia (blue-blind)
#2F8374
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #398728;
/* rgb */ color: rgb(57, 135, 40);
/* oklch */ color: oklch(55.4% 0.151 140.4);
Tailwind
colors: {
  custom: {
    50: '#78ab67',
    500: '#398728',
    950: '#000000',
  },
}
SCSS
$custom: #398728;
$custom-light: #78ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#398728",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 109.263,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55414,
    "c": 0.15105,
    "h": 140.4
  },
  "luminance": 0.18351
}

Semantic roles & 50–950 ramp

primary
#398728
secondary
#A357B4
accent
#4ADEC3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398728

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

Preview Lab → · Contrast checker → · Palette generator →

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