#398E1C#398E1C

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

Color values

HEX#398E1C
RGBrgb(57, 142, 28)
HSLhsl(105, 67%, 33%)
HSVhsv(105, 80%, 56%)
CMYKcmyk(59.9%, 0%, 80.3%, 44.3%)
CIE-LABlab(52.17, -46.05, 48.87)
CIE-LCHlch(52.17, 67.15, 133.30°)
OKLaboklab(57.25% -0.1268 0.1088)
OKLCHoklch(57.25% 0.167 139.4)
XYZxyz(11.5695, 20.2987, 4.4067)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E1C #711C8E
analogous
#728E1C #398E1C #1C8E38
triadic
#398E1C #1C398E #8E1C39
tetradic
#398E1C #1C728E #711C8E #8E381C
square
#398E1C #1C728E #711C8E #8E381C
split-complementary
#398E1C #381C8E #8E1C72
monochromatic
#102808 #245B12 #398E1C #4EC126 #6EDB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398E1C#FFFFFF#000000##000000
##398E1C1.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)
#887A29
Tritanopia (blue-blind)
#2F8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398e1c;
/* rgb */ color: rgb(57, 142, 28);
/* oklch */ color: oklch(57.3% 0.167 139.4);
Tailwind
colors: {
  custom: {
    50: '#7ab062',
    500: '#398e1c',
    950: '#000000',
  },
}
SCSS
$custom: #398e1c;
$custom-light: #7ab062;
$custom-dark: #000000;
JSON
{
  "hex": "#398e1c",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 104.737,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57251,
    "c": 0.16706,
    "h": 139.4
  },
  "luminance": 0.203
}

Semantic roles & 50–950 ramp

primary
#398E1C
secondary
#A049BD
accent
#3EEABE
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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