#398117#398117

#398117 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.154 H 138.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#398117
RGBrgb(57, 129, 23)
HSLhsl(101, 70%, 30%)
HSVhsv(101, 82%, 51%)
CMYKcmyk(55.8%, 0%, 82.2%, 49.4%)
CIE-LABlab(47.79, -41.37, 46.34)
CIE-LCHlch(47.79, 62.12, 131.76°)
OKLaboklab(53.63% -0.1145 0.1028)
OKLCHoklch(53.63% 0.154 138.1)
XYZxyz(9.6919, 16.6315, 3.5099)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398117 #5F1781
analogous
#6E8117 #398117 #17812A
triadic
#398117 #173981 #811739
tetradic
#398117 #176E81 #5F1781 #812A17
square
#398117 #176E81 #5F1781 #812A17
split-complementary
#398117 #2A1781 #81176E
monochromatic
#0B1A05 #224D0E #398117 #50B520 #6CDB37

Accessibility & contrast

On white

4.85
#398117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#398117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398117
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398117#FFFFFF#000000##FFFFFF
##3981171.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#337C6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #398117;
/* rgb */ color: rgb(57, 129, 23);
/* oklch */ color: oklch(53.6% 0.154 138.1);
Tailwind
colors: {
  custom: {
    50: '#78a65e',
    500: '#398117',
    950: '#000000',
  },
}
SCSS
$custom: #398117;
$custom-light: #78a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#398117",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 100.755,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53625,
    "c": 0.15383,
    "h": 138.1
  },
  "luminance": 0.16632
}

Semantic roles & 50–950 ramp

primary
#398117
secondary
#8F3EB5
accent
#3BEDB4
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #398117

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

Preview Lab → · Contrast checker → · Palette generator →

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