#398133#398133

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

Color values

HEX#398133
RGBrgb(57, 129, 51)
HSLhsl(115, 43%, 35%)
HSVhsv(115, 60%, 51%)
CMYKcmyk(55.8%, 0%, 60.5%, 49.4%)
CIE-LABlab(48.02, -38.84, 34.94)
CIE-LCHlch(48.02, 52.25, 138.02°)
OKLaboklab(53.88% -0.1059 0.0824)
OKLCHoklch(53.88% 0.134 142.1)
XYZxyz(10.1346, 16.8086, 5.8416)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398133 #7B3381
analogous
#608133 #398133 #338154
triadic
#398133 #333981 #813339
tetradic
#398133 #336081 #7B3381 #815433
square
#398133 #336081 #7B3381 #815433
split-complementary
#398133 #543381 #813360
monochromatic
#122910 #265522 #398133 #4CAD44 #71C46A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398133#FFFFFF#000000##FFFFFF
##3981331.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)
#84762B
Deuteranopia (green-blind)
#7B7039
Tritanopia (blue-blind)
#2F7D70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #398133;
/* rgb */ color: rgb(57, 129, 51);
/* oklch */ color: oklch(53.9% 0.134 142.1);
Tailwind
colors: {
  custom: {
    50: '#77a66d',
    500: '#398133',
    950: '#000000',
  },
}
SCSS
$custom: #398133;
$custom-light: #77a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#398133",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 51
  },
  "hsl": {
    "h": 115.385,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.53883,
    "c": 0.13414,
    "h": 142.1
  },
  "luminance": 0.16809
}

Semantic roles & 50–950 ramp

primary
#398133
secondary
#A664AC
accent
#55D3C9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #398133

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

Preview Lab → · Contrast checker → · Palette generator →

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