#398B1B#398B1B

#398B1B is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.164 H 139.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#398B1B
RGBrgb(57, 139, 27)
HSLhsl(104, 67%, 33%)
HSVhsv(104, 81%, 55%)
CMYKcmyk(59%, 0%, 80.6%, 45.5%)
CIE-LABlab(51.17, -44.99, 48.24)
CIE-LCHlch(51.17, 65.96, 133.00°)
OKLaboklab(56.42% -0.124 0.1073)
OKLCHoklch(56.42% 0.164 139.1)
XYZxyz(11.1173, 19.4133, 4.1980)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B1B #6D1B8B
analogous
#718B1B #398B1B #1B8B35
triadic
#398B1B #1B398B #8B1B39
tetradic
#398B1B #1B718B #6D1B8B #8B351B
square
#398B1B #1B718B #6D1B8B #8B351B
split-complementary
#398B1B #351B8B #8B1B71
monochromatic
#0F2507 #245811 #398B1B #4EBE25 #6DDB45

Accessibility & contrast

On white

4.30
#398B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#398B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B1B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B1B#FFFFFF#000000##000000
##398B1B1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#308676
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b1b;
/* rgb */ color: rgb(57, 139, 27);
/* oklch */ color: oklch(56.4% 0.164 139.1);
Tailwind
colors: {
  custom: {
    50: '#7aae61',
    500: '#398b1b',
    950: '#000000',
  },
}
SCSS
$custom: #398b1b;
$custom-light: #7aae61;
$custom-dark: #000000;
JSON
{
  "hex": "#398b1b",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 103.929,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56418,
    "c": 0.16397,
    "h": 139.1
  },
  "luminance": 0.19414
}

Semantic roles & 50–950 ramp

primary
#398B1B
secondary
#9D45BC
accent
#3DEABC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #398B1B

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

Preview Lab → · Contrast checker → · Palette generator →

#398B1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva