#398F24#398F24

#398F24 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.164 H 140.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#398F24
RGBrgb(57, 143, 36)
HSLhsl(108, 60%, 35%)
HSVhsv(108, 75%, 56%)
CMYKcmyk(60.1%, 0%, 74.8%, 43.9%)
CIE-LABlab(52.55, -45.87, 46.44)
CIE-LCHlch(52.55, 65.27, 134.65°)
OKLaboklab(57.58% -0.1258 0.1049)
OKLCHoklch(57.58% 0.164 140.2)
XYZxyz(11.8277, 20.6411, 5.0296)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F24 #7A248F
analogous
#6F8F24 #398F24 #248F44
triadic
#398F24 #24398F #8F2439
tetradic
#398F24 #246F8F #7A248F #8F4424
square
#398F24 #246F8F #7A248F #8F4424
split-complementary
#398F24 #44248F #8F246F
monochromatic
#122D0B #265E18 #398F24 #4CC030 #71D558

Accessibility & contrast

On white

4.09
#398F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#398F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F24
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F24#FFFFFF#000000##000000
##398F241.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938210
Deuteranopia (green-blind)
#887B2F
Tritanopia (blue-blind)
#2E8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398f24;
/* rgb */ color: rgb(57, 143, 36);
/* oklch */ color: oklch(57.6% 0.164 140.2);
Tailwind
colors: {
  custom: {
    50: '#7ab166',
    500: '#398f24',
    950: '#000000',
  },
}
SCSS
$custom: #398f24;
$custom-light: #7ab166;
$custom-dark: #000000;
JSON
{
  "hex": "#398f24",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 108.224,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57581,
    "c": 0.16379,
    "h": 140.2
  },
  "luminance": 0.20642
}

Semantic roles & 50–950 ramp

primary
#398F24
secondary
#A655B9
accent
#45E3C4
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #398F24

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

Preview Lab → · Contrast checker → · Palette generator →

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