#398F1B#398F1B

#398F1B is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.169 H 139.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#398F1B
RGBrgb(57, 143, 27)
HSLhsl(104, 68%, 33%)
HSVhsv(104, 81%, 56%)
CMYKcmyk(60.1%, 0%, 81.1%, 43.9%)
CIE-LABlab(52.50, -46.49, 49.50)
CIE-LCHlch(52.50, 67.91, 133.20°)
OKLaboklab(57.52% -0.128 0.11)
OKLCHoklch(57.52% 0.169 139.3)
XYZxyz(11.7071, 20.5929, 4.3946)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F1B #711B8F
analogous
#738F1B #398F1B #1B8F37
triadic
#398F1B #1B398F #8F1B39
tetradic
#398F1B #1B738F #711B8F #8F371B
square
#398F1B #1B738F #711B8F #8F371B
split-complementary
#398F1B #371B8F #8F1B73
monochromatic
#102808 #245C11 #398F1B #4EC225 #6EDC48

Accessibility & contrast

On white

4.10
#398F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#398F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F1B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F1B#FFFFFF#000000##000000
##398F1B1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#2F8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398f1b;
/* rgb */ color: rgb(57, 143, 27);
/* oklch */ color: oklch(57.5% 0.169 139.3);
Tailwind
colors: {
  custom: {
    50: '#7ab162',
    500: '#398f1b',
    950: '#000000',
  },
}
SCSS
$custom: #398f1b;
$custom-light: #7ab162;
$custom-dark: #000000;
JSON
{
  "hex": "#398f1b",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 104.483,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5752,
    "c": 0.16874,
    "h": 139.3
  },
  "luminance": 0.20594
}

Semantic roles & 50–950 ramp

primary
#398F1B
secondary
#A048BE
accent
#3DEBBE
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #398F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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