#398817#398817

#398817 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.6% C 0.162 H 138.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#398817
RGBrgb(57, 136, 23)
HSLhsl(102, 71%, 31%)
HSVhsv(102, 83%, 53%)
CMYKcmyk(58.1%, 0%, 83.1%, 46.7%)
CIE-LABlab(50.14, -44.08, 48.52)
CIE-LCHlch(50.14, 65.56, 132.26°)
OKLaboklab(55.57% -0.1217 0.1073)
OKLCHoklch(55.57% 0.162 138.6)
XYZxyz(10.6457, 18.5391, 3.8279)
Luminance0.1854 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398817 #661788
analogous
#718817 #398817 #17882D
triadic
#398817 #173988 #881739
tetradic
#398817 #177188 #661788 #882D17
square
#398817 #177188 #661788 #882D17
split-complementary
#398817 #2D1788 #881771
monochromatic
#0D1F05 #23540E #398817 #4FBC20 #6CDE3B

Accessibility & contrast

On white

4.46
#398817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#398817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398817
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398817#FFFFFF#000000##000000
##3988171.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#827525
Tritanopia (blue-blind)
#318373
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #398817;
/* rgb */ color: rgb(57, 136, 23);
/* oklch */ color: oklch(55.6% 0.162 138.6);
Tailwind
colors: {
  custom: {
    50: '#79ab5f',
    500: '#398817',
    950: '#000000',
  },
}
SCSS
$custom: #398817;
$custom-light: #79ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#398817",
  "rgb": {
    "r": 57,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 101.947,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55566,
    "c": 0.1623,
    "h": 138.6
  },
  "luminance": 0.1854
}

Semantic roles & 50–950 ramp

primary
#398817
secondary
#963FBC
accent
#3AEEB8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398817

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

Preview Lab → · Contrast checker → · Palette generator →

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