#398C25#398C25

#398C25 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.159 H 140.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#398C25
RGBrgb(57, 140, 37)
HSLhsl(108, 58%, 35%)
HSVhsv(108, 74%, 55%)
CMYKcmyk(59.3%, 0%, 73.6%, 45.1%)
CIE-LABlab(51.56, -44.65, 45.05)
CIE-LCHlch(51.56, 63.42, 134.75°)
OKLaboklab(56.77% -0.1225 0.1021)
OKLCHoklch(56.77% 0.159 140.2)
XYZxyz(11.3988, 19.7586, 4.9630)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398C25 #78258C
analogous
#6C8C25 #398C25 #258C45
triadic
#398C25 #25398C #8C2539
tetradic
#398C25 #256C8C #78258C #8C4525
square
#398C25 #256C8C #78258C #8C4525
split-complementary
#398C25 #45258C #8C256C
monochromatic
#122B0B #255C18 #398C25 #4DBC32 #70D358

Accessibility & contrast

On white

4.24
#398C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#398C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398C25
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398C25#FFFFFF#000000##000000
##398C251.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F13
Deuteranopia (green-blind)
#86782F
Tritanopia (blue-blind)
#2F8778
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398c25;
/* rgb */ color: rgb(57, 140, 37);
/* oklch */ color: oklch(56.8% 0.159 140.2);
Tailwind
colors: {
  custom: {
    50: '#79ae66',
    500: '#398c25',
    950: '#000000',
  },
}
SCSS
$custom: #398c25;
$custom-light: #79ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#398c25",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 37
  },
  "hsl": {
    "h": 108.35,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56765,
    "c": 0.15945,
    "h": 140.2
  },
  "luminance": 0.1976
}

Semantic roles & 50–950 ramp

primary
#398C25
secondary
#A455B8
accent
#46E1C3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398C25

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

Preview Lab → · Contrast checker → · Palette generator →

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