#398E1A#398E1A

#398E1A is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.168 H 139.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#398E1A
RGBrgb(57, 142, 26)
HSLhsl(104, 69%, 33%)
HSVhsv(104, 82%, 56%)
CMYKcmyk(59.9%, 0%, 81.7%, 44.3%)
CIE-LABlab(52.16, -46.17, 49.49)
CIE-LCHlch(52.16, 67.69, 133.01°)
OKLaboklab(57.24% -0.1272 0.1098)
OKLCHoklch(57.24% 0.168 139.2)
XYZxyz(11.5463, 20.2894, 4.2849)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E1A #6F1A8E
analogous
#738E1A #398E1A #1A8E35
triadic
#398E1A #1A398E #8E1A39
tetradic
#398E1A #1A738E #6F1A8E #8E351A
square
#398E1A #1A738E #6F1A8E #8E351A
split-complementary
#398E1A #351A8E #8E1A73
monochromatic
#0F2707 #245A11 #398E1A #4EC223 #6EDD45

Accessibility & contrast

On white

4.15
#398E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#398E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E1A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E1A#FFFFFF#000000##000000
##398E1A1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#2F8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398e1a;
/* rgb */ color: rgb(57, 142, 26);
/* oklch */ color: oklch(57.2% 0.168 139.2);
Tailwind
colors: {
  custom: {
    50: '#7ab061',
    500: '#398e1a',
    950: '#000000',
  },
}
SCSS
$custom: #398e1a;
$custom-light: #7ab061;
$custom-dark: #000000;
JSON
{
  "hex": "#398e1a",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 103.966,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57239,
    "c": 0.16805,
    "h": 139.2
  },
  "luminance": 0.2029
}

Semantic roles & 50–950 ramp

primary
#398E1A
secondary
#9E45BE
accent
#3CECBD
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #398E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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