#398034#398034

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

Color values

HEX#398034
RGBrgb(57, 128, 52)
HSLhsl(116, 42%, 35%)
HSVhsv(116, 59%, 50%)
CMYKcmyk(55.5%, 0%, 59.4%, 49.8%)
CIE-LABlab(47.69, -38.30, 34.07)
CIE-LCHlch(47.69, 51.26, 138.34°)
OKLaboklab(53.62% -0.1044 0.0806)
OKLCHoklch(53.62% 0.132 142.3)
XYZxyz(10.0258, 16.5553, 5.9153)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398034 #7B3480
analogous
#5F8034 #398034 #348055
triadic
#398034 #343980 #803439
tetradic
#398034 #345F80 #7B3480 #805534
square
#398034 #345F80 #7B3480 #805534
split-complementary
#398034 #553480 #80345F
monochromatic
#122911 #265422 #398034 #4CAC46 #71C36B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398034#FFFFFF#000000##FFFFFF
##3980341.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)
#83752C
Deuteranopia (green-blind)
#7A6F3A
Tritanopia (blue-blind)
#2F7C6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #398034;
/* rgb */ color: rgb(57, 128, 52);
/* oklch */ color: oklch(53.6% 0.132 142.3);
Tailwind
colors: {
  custom: {
    50: '#76a56e',
    500: '#398034',
    950: '#000000',
  },
}
SCSS
$custom: #398034;
$custom-light: #76a56e;
$custom-dark: #000000;
JSON
{
  "hex": "#398034",
  "rgb": {
    "r": 57,
    "g": 128,
    "b": 52
  },
  "hsl": {
    "h": 116.053,
    "s": 42.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.53621,
    "c": 0.13184,
    "h": 142.3
  },
  "luminance": 0.16556
}

Semantic roles & 50–950 ramp

primary
#398034
secondary
#A665AB
accent
#56D2CA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #398034

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

Preview Lab → · Contrast checker → · Palette generator →

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