#398E26#398E26

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

Color values

HEX#398E26
RGBrgb(57, 142, 38)
HSLhsl(109, 58%, 35%)
HSVhsv(109, 73%, 56%)
CMYKcmyk(59.9%, 0%, 73.2%, 44.3%)
CIE-LABlab(52.24, -45.33, 45.34)
CIE-LCHlch(52.24, 64.11, 134.99°)
OKLaboklab(57.32% -0.1242 0.1029)
OKLCHoklch(57.32% 0.161 140.4)
XYZxyz(11.7097, 20.3548, 5.1451)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E26 #7B268E
analogous
#6D8E26 #398E26 #268E47
triadic
#398E26 #26398E #8E2639
tetradic
#398E26 #266D8E #7B268E #8E4726
square
#398E26 #266D8E #7B268E #8E4726
split-complementary
#398E26 #47268E #8E266D
monochromatic
#122D0C #265E19 #398E26 #4CBE33 #71D35B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398E26#FFFFFF#000000##000000
##398E261.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)
#928114
Deuteranopia (green-blind)
#877A30
Tritanopia (blue-blind)
#2E897A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398e26;
/* rgb */ color: rgb(57, 142, 38);
/* oklch */ color: oklch(57.3% 0.161 140.4);
Tailwind
colors: {
  custom: {
    50: '#7ab067',
    500: '#398e26',
    950: '#000000',
  },
}
SCSS
$custom: #398e26;
$custom-light: #7ab067;
$custom-dark: #000000;
JSON
{
  "hex": "#398e26",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 109.038,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57322,
    "c": 0.16129,
    "h": 140.4
  },
  "luminance": 0.20356
}

Semantic roles & 50–950 ramp

primary
#398E26
secondary
#A658B8
accent
#47E1C5
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398E26

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

Preview Lab → · Contrast checker → · Palette generator →

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