#398036#398036

#398036 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.130 H 142.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#398036
RGBrgb(57, 128, 54)
HSLhsl(118, 41%, 36%)
HSVhsv(118, 58%, 50%)
CMYKcmyk(55.5%, 0%, 57.8%, 49.8%)
CIE-LABlab(47.72, -38.04, 33.09)
CIE-LCHlch(47.72, 50.42, 138.98°)
OKLaboklab(53.65% -0.1035 0.0786)
OKLCHoklch(53.65% 0.13 142.8)
XYZxyz(10.0719, 16.5737, 6.1576)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398036 #7D3680
analogous
#5E8036 #398036 #368058
triadic
#398036 #363980 #803639
tetradic
#398036 #365E80 #7D3680 #805836
square
#398036 #365E80 #7D3680 #805836
split-complementary
#398036 #583680 #80365E
monochromatic
#132A12 #265524 #398036 #4CAB48 #72C26E

Accessibility & contrast

On white

4.87
#398036 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#398036 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398036
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398036#FFFFFF#000000##FFFFFF
##3980361.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83752F
Deuteranopia (green-blind)
#796F3C
Tritanopia (blue-blind)
#2F7C70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #398036;
/* rgb */ color: rgb(57, 128, 54);
/* oklch */ color: oklch(53.6% 0.130 142.8);
Tailwind
colors: {
  custom: {
    50: '#76a56f',
    500: '#398036',
    950: '#000000',
  },
}
SCSS
$custom: #398036;
$custom-light: #76a56f;
$custom-dark: #000000;
JSON
{
  "hex": "#398036",
  "rgb": {
    "r": 57,
    "g": 128,
    "b": 54
  },
  "hsl": {
    "h": 117.568,
    "s": 40.659,
    "l": 35.686
  },
  "oklch": {
    "l": 0.53648,
    "c": 0.13001,
    "h": 142.8
  },
  "luminance": 0.16575
}

Semantic roles & 50–950 ramp

primary
#398036
secondary
#A867AB
accent
#57D1CC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #398036

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

Preview Lab → · Contrast checker → · Palette generator →

#398036 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva