#398124#398124

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

Color values

HEX#398124
RGBrgb(57, 129, 36)
HSLhsl(106, 56%, 32%)
HSVhsv(106, 72%, 51%)
CMYKcmyk(55.8%, 0%, 72.1%, 49.4%)
CIE-LABlab(47.88, -40.43, 41.64)
CIE-LCHlch(47.88, 58.04, 134.15°)
OKLaboklab(53.72% -0.1111 0.0949)
OKLCHoklch(53.72% 0.146 139.5)
XYZxyz(9.8556, 16.6970, 4.3722)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398124 #6C2481
analogous
#678124 #398124 #24813E
triadic
#398124 #243981 #812439
tetradic
#398124 #246781 #6C2481 #813E24
square
#398124 #246781 #6C2481 #813E24
split-complementary
#398124 #3E2481 #812467
monochromatic
#0F2109 #245117 #398124 #4EB131 #6DCE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398124#FFFFFF#000000##FFFFFF
##3981241.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)
#857516
Deuteranopia (green-blind)
#7C6F2D
Tritanopia (blue-blind)
#327D6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #398124;
/* rgb */ color: rgb(57, 129, 36);
/* oklch */ color: oklch(53.7% 0.146 139.5);
Tailwind
colors: {
  custom: {
    50: '#77a664',
    500: '#398124',
    950: '#000000',
  },
}
SCSS
$custom: #398124;
$custom-light: #77a664;
$custom-dark: #000000;
JSON
{
  "hex": "#398124",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 106.452,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53721,
    "c": 0.1461,
    "h": 139.5
  },
  "luminance": 0.16698
}

Semantic roles & 50–950 ramp

primary
#398124
secondary
#9C4EB2
accent
#48E0BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #398124

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

Preview Lab → · Contrast checker → · Palette generator →

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