#398725#398725

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

Color values

HEX#398725
RGBrgb(57, 135, 37)
HSLhsl(108, 57%, 34%)
HSVhsv(108, 73%, 53%)
CMYKcmyk(57.8%, 0%, 72.6%, 47.1%)
CIE-LABlab(49.89, -42.72, 43.33)
CIE-LCHlch(49.89, 60.84, 134.59°)
OKLaboklab(55.39% -0.1172 0.0985)
OKLCHoklch(55.39% 0.153 140)
XYZxyz(10.6848, 18.3305, 4.7250)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398725 #732587
analogous
#6A8725 #398725 #258742
triadic
#398725 #253987 #872539
tetradic
#398725 #256A87 #732587 #874225
square
#398725 #256A87 #732587 #874225
split-complementary
#398725 #422587 #87256A
monochromatic
#10270B #255718 #398725 #4DB732 #6FD156

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398725#FFFFFF#000000##000000
##3987251.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)
#8B7B15
Deuteranopia (green-blind)
#81742E
Tritanopia (blue-blind)
#308274
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #398725;
/* rgb */ color: rgb(57, 135, 37);
/* oklch */ color: oklch(55.4% 0.153 140.0);
Tailwind
colors: {
  custom: {
    50: '#78ab66',
    500: '#398725',
    950: '#000000',
  },
}
SCSS
$custom: #398725;
$custom-light: #78ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#398725",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 37
  },
  "hsl": {
    "h": 107.755,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55387,
    "c": 0.15314,
    "h": 140
  },
  "luminance": 0.18331
}

Semantic roles & 50–950 ramp

primary
#398725
secondary
#A153B5
accent
#48E0C1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398725

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

Preview Lab → · Contrast checker → · Palette generator →

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