#398E28#398E28

#398E28 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.160 H 140.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#398E28
RGBrgb(57, 142, 40)
HSLhsl(110, 56%, 36%)
HSVhsv(110, 72%, 56%)
CMYKcmyk(59.9%, 0%, 71.8%, 44.3%)
CIE-LABlab(52.25, -45.16, 44.56)
CIE-LCHlch(52.25, 63.44, 135.38°)
OKLaboklab(57.34% -0.1236 0.1015)
OKLCHoklch(57.34% 0.16 140.6)
XYZxyz(11.7428, 20.3680, 5.3197)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E28 #7D288E
analogous
#6C8E28 #398E28 #288E4A
triadic
#398E28 #28398E #8E2839
tetradic
#398E28 #286C8E #7D288E #8E4A28
square
#398E28 #286C8E #7D288E #8E4A28
split-complementary
#398E28 #4A288E #8E286C
monochromatic
#132F0D #265E1B #398E28 #4CBE35 #72D25F

Accessibility & contrast

On white

4.14
#398E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#398E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E28
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E28#FFFFFF#000000##000000
##398E281.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#877A32
Tritanopia (blue-blind)
#2E897A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398e28;
/* rgb */ color: rgb(57, 142, 40);
/* oklch */ color: oklch(57.3% 0.160 140.6);
Tailwind
colors: {
  custom: {
    50: '#79b068',
    500: '#398e28',
    950: '#000000',
  },
}
SCSS
$custom: #398e28;
$custom-light: #79b068;
$custom-dark: #000000;
JSON
{
  "hex": "#398e28",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 110,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57339,
    "c": 0.15998,
    "h": 140.6
  },
  "luminance": 0.20369
}

Semantic roles & 50–950 ramp

primary
#398E28
secondary
#A85BB7
accent
#48DFC6
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398E28

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

Preview Lab → · Contrast checker → · Palette generator →

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