#398D25#398D25

#398D25 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.161 H 140.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#398D25
RGBrgb(57, 141, 37)
HSLhsl(108, 58%, 35%)
HSVhsv(108, 74%, 55%)
CMYKcmyk(59.6%, 0%, 73.8%, 44.7%)
CIE-LABlab(51.90, -45.03, 45.39)
CIE-LCHlch(51.90, 63.93, 134.77°)
OKLaboklab(57.04% -0.1235 0.1028)
OKLCHoklch(57.04% 0.161 140.2)
XYZxyz(11.5456, 20.0522, 5.0119)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D25 #79258D
analogous
#6D8D25 #398D25 #258D45
triadic
#398D25 #25398D #8D2539
tetradic
#398D25 #256D8D #79258D #8D4525
square
#398D25 #256D8D #79258D #8D4525
split-complementary
#398D25 #45258D #8D256D
monochromatic
#122C0C #255D18 #398D25 #4DBD32 #71D359

Accessibility & contrast

On white

4.19
#398D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#398D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D25
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D25#FFFFFF#000000##000000
##398D251.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918013
Deuteranopia (green-blind)
#86792F
Tritanopia (blue-blind)
#2E8879
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d25;
/* rgb */ color: rgb(57, 141, 37);
/* oklch */ color: oklch(57.0% 0.161 140.2);
Tailwind
colors: {
  custom: {
    50: '#79af66',
    500: '#398d25',
    950: '#000000',
  },
}
SCSS
$custom: #398d25;
$custom-light: #79af66;
$custom-dark: #000000;
JSON
{
  "hex": "#398d25",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 108.462,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5704,
    "c": 0.1607,
    "h": 140.2
  },
  "luminance": 0.20053
}

Semantic roles & 50–950 ramp

primary
#398D25
secondary
#A556B8
accent
#46E2C4
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398D25

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

Preview Lab → · Contrast checker → · Palette generator →

#398D25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva