#398125#398125

#398125 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.145 H 139.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#398125
RGBrgb(57, 129, 37)
HSLhsl(107, 55%, 33%)
HSVhsv(107, 71%, 51%)
CMYKcmyk(55.8%, 0%, 71.3%, 49.4%)
CIE-LABlab(47.88, -40.34, 41.23)
CIE-LCHlch(47.88, 57.68, 134.37°)
OKLaboklab(53.73% -0.1108 0.0941)
OKLCHoklch(53.73% 0.145 139.6)
XYZxyz(9.8711, 16.7031, 4.4538)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398125 #6D2581
analogous
#678125 #398125 #25813F
triadic
#398125 #253981 #812539
tetradic
#398125 #256781 #6D2581 #813F25
square
#398125 #256781 #6D2581 #813F25
split-complementary
#398125 #3F2581 #812567
monochromatic
#0F220A #245117 #398125 #4EB133 #6DCE53

Accessibility & contrast

On white

4.84
#398125 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#398125 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398125
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398125#FFFFFF#000000##FFFFFF
##3981251.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857517
Deuteranopia (green-blind)
#7B6F2E
Tritanopia (blue-blind)
#317D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #398125;
/* rgb */ color: rgb(57, 129, 37);
/* oklch */ color: oklch(53.7% 0.145 139.6);
Tailwind
colors: {
  custom: {
    50: '#77a665',
    500: '#398125',
    950: '#000000',
  },
}
SCSS
$custom: #398125;
$custom-light: #77a665;
$custom-dark: #000000;
JSON
{
  "hex": "#398125",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 106.957,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5373,
    "c": 0.14539,
    "h": 139.6
  },
  "luminance": 0.16704
}

Semantic roles & 50–950 ramp

primary
#398125
secondary
#9D50B2
accent
#49DFBE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #398125

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

Preview Lab → · Contrast checker → · Palette generator →

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