#398617#398617

#398617 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.160 H 138.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#398617
RGBrgb(57, 134, 23)
HSLhsl(102, 71%, 31%)
HSVhsv(102, 83%, 53%)
CMYKcmyk(57.5%, 0%, 82.8%, 47.5%)
CIE-LABlab(49.47, -43.32, 47.90)
CIE-LCHlch(49.47, 64.58, 132.12°)
OKLaboklab(55.01% -0.1197 0.106)
OKLCHoklch(55.01% 0.16 138.5)
XYZxyz(10.3667, 17.9811, 3.7348)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398617 #641786
analogous
#708617 #398617 #17862D
triadic
#398617 #173986 #861739
tetradic
#398617 #177086 #641786 #862D17
square
#398617 #177086 #641786 #862D17
split-complementary
#398617 #2D1786 #861770
monochromatic
#0D1E05 #23520E #398617 #4FBA20 #6CDD3A

Accessibility & contrast

On white

4.57
#398617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#398617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398617
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398617#FFFFFF#000000##000000
##3986171.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#817324
Tritanopia (blue-blind)
#328172
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #398617;
/* rgb */ color: rgb(57, 134, 23);
/* oklch */ color: oklch(55.0% 0.160 138.5);
Tailwind
colors: {
  custom: {
    50: '#79aa5f',
    500: '#398617',
    950: '#000000',
  },
}
SCSS
$custom: #398617;
$custom-light: #79aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#398617",
  "rgb": {
    "r": 57,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 101.622,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55012,
    "c": 0.15991,
    "h": 138.5
  },
  "luminance": 0.17982
}

Semantic roles & 50–950 ramp

primary
#398617
secondary
#943FBA
accent
#3AEDB7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398617

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

Preview Lab → · Contrast checker → · Palette generator →

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