#398134#398134

#398134 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.9% C 0.133 H 142.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#398134
RGBrgb(57, 129, 52)
HSLhsl(116, 43%, 35%)
HSVhsv(116, 60%, 51%)
CMYKcmyk(55.8%, 0%, 59.7%, 49.4%)
CIE-LABlab(48.03, -38.72, 34.46)
CIE-LCHlch(48.03, 51.83, 138.33°)
OKLaboklab(53.9% -0.1055 0.0814)
OKLCHoklch(53.9% 0.133 142.3)
XYZxyz(10.1569, 16.8175, 5.9590)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398134 #7C3481
analogous
#5F8134 #398134 #348155
triadic
#398134 #343981 #813439
tetradic
#398134 #345F81 #7C3481 #815534
square
#398134 #345F81 #7C3481 #815534
split-complementary
#398134 #553481 #81345F
monochromatic
#122A11 #265522 #398134 #4CAD46 #71C46C

Accessibility & contrast

On white

4.81
#398134 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#398134 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398134
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398134#FFFFFF#000000##FFFFFF
##3981341.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762C
Deuteranopia (green-blind)
#7A703A
Tritanopia (blue-blind)
#2F7D70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #398134;
/* rgb */ color: rgb(57, 129, 52);
/* oklch */ color: oklch(53.9% 0.133 142.3);
Tailwind
colors: {
  custom: {
    50: '#76a66e',
    500: '#398134',
    950: '#000000',
  },
}
SCSS
$custom: #398134;
$custom-light: #76a66e;
$custom-dark: #000000;
JSON
{
  "hex": "#398134",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 52
  },
  "hsl": {
    "h": 116.104,
    "s": 42.541,
    "l": 35.49
  },
  "oklch": {
    "l": 0.53896,
    "c": 0.13325,
    "h": 142.3
  },
  "luminance": 0.16818
}

Semantic roles & 50–950 ramp

primary
#398134
secondary
#A765AC
accent
#55D2CA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #398134

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

Preview Lab → · Contrast checker → · Palette generator →

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