#398F1A#398F1A

#398F1A 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#398F1A
RGBrgb(57, 143, 26)
HSLhsl(104, 69%, 33%)
HSVhsv(104, 82%, 56%)
CMYKcmyk(60.1%, 0%, 81.8%, 43.9%)
CIE-LABlab(52.50, -46.55, 49.81)
CIE-LCHlch(52.50, 68.17, 133.06°)
OKLaboklab(57.51% -0.1282 0.1105)
OKLCHoklch(57.51% 0.169 139.3)
XYZxyz(11.6958, 20.5883, 4.3347)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F1A #701A8F
analogous
#738F1A #398F1A #1A8F36
triadic
#398F1A #1A398F #8F1A39
tetradic
#398F1A #1A738F #701A8F #8F361A
square
#398F1A #1A738F #701A8F #8F361A
split-complementary
#398F1A #361A8F #8F1A73
monochromatic
#102707 #245B11 #398F1A #4EC323 #6EDD46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398F1A#FFFFFF#000000##000000
##398F1A1.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)
#897B28
Tritanopia (blue-blind)
#2F8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398f1a;
/* rgb */ color: rgb(57, 143, 26);
/* oklch */ color: oklch(57.5% 0.169 139.3);
Tailwind
colors: {
  custom: {
    50: '#7ab161',
    500: '#398f1a',
    950: '#000000',
  },
}
SCSS
$custom: #398f1a;
$custom-light: #7ab161;
$custom-dark: #000000;
JSON
{
  "hex": "#398f1a",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 104.103,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57514,
    "c": 0.16922,
    "h": 139.3
  },
  "luminance": 0.20589
}

Semantic roles & 50–950 ramp

primary
#398F1A
secondary
#9F46BF
accent
#3CECBD
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #398F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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