#398517#398517

#398517 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.159 H 138.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#398517
RGBrgb(57, 133, 23)
HSLhsl(101, 71%, 31%)
HSVhsv(101, 83%, 52%)
CMYKcmyk(57.1%, 0%, 82.7%, 47.8%)
CIE-LABlab(49.14, -42.93, 47.59)
CIE-LCHlch(49.14, 64.09, 132.06°)
OKLaboklab(54.74% -0.1187 0.1054)
OKLCHoklch(54.74% 0.159 138.4)
XYZxyz(10.2291, 17.7059, 3.6890)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398517 #631785
analogous
#708517 #398517 #17852C
triadic
#398517 #173985 #851739
tetradic
#398517 #177085 #631785 #852C17
square
#398517 #177085 #631785 #852C17
split-complementary
#398517 #2C1785 #851770
monochromatic
#0C1D05 #23510E #398517 #4FB920 #6CDD3A

Accessibility & contrast

On white

4.62
#398517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#398517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #398517
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398517#FFFFFF#000000##FFFFFF
##3985171.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#807224
Tritanopia (blue-blind)
#328071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #398517;
/* rgb */ color: rgb(57, 133, 23);
/* oklch */ color: oklch(54.7% 0.159 138.4);
Tailwind
colors: {
  custom: {
    50: '#79a95f',
    500: '#398517',
    950: '#000000',
  },
}
SCSS
$custom: #398517;
$custom-light: #79a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#398517",
  "rgb": {
    "r": 57,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 101.455,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54735,
    "c": 0.1587,
    "h": 138.4
  },
  "luminance": 0.17707
}

Semantic roles & 50–950 ramp

primary
#398517
secondary
#933FB9
accent
#3BEDB6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398517

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

Preview Lab → · Contrast checker → · Palette generator →

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