#398236#398236

#398236 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.2% C 0.133 H 142.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#398236
RGBrgb(57, 130, 54)
HSLhsl(118, 41%, 36%)
HSVhsv(118, 58%, 51%)
CMYKcmyk(56.2%, 0%, 58.5%, 49%)
CIE-LABlab(48.39, -38.88, 33.88)
CIE-LCHlch(48.39, 51.57, 138.93°)
OKLaboklab(54.2% -0.1058 0.0803)
OKLCHoklch(54.2% 0.133 142.8)
XYZxyz(10.3353, 17.1006, 6.2454)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398236 #7F3682
analogous
#5F8236 #398236 #368259
triadic
#398236 #363982 #823639
tetradic
#398236 #365F82 #7F3682 #825936
square
#398236 #365F82 #7F3682 #825936
split-complementary
#398236 #593682 #82365F
monochromatic
#132C12 #265724 #398236 #4CAD48 #72C36F

Accessibility & contrast

On white

4.75
#398236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#398236 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398236
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398236#FFFFFF#000000##FFFFFF
##3982361.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772F
Deuteranopia (green-blind)
#7B703C
Tritanopia (blue-blind)
#2E7E71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398236;
/* rgb */ color: rgb(57, 130, 54);
/* oklch */ color: oklch(54.2% 0.133 142.8);
Tailwind
colors: {
  custom: {
    50: '#77a76f',
    500: '#398236',
    950: '#000000',
  },
}
SCSS
$custom: #398236;
$custom-light: #77a76f;
$custom-dark: #000000;
JSON
{
  "hex": "#398236",
  "rgb": {
    "r": 57,
    "g": 130,
    "b": 54
  },
  "hsl": {
    "h": 117.632,
    "s": 41.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.54198,
    "c": 0.13284,
    "h": 142.8
  },
  "luminance": 0.17101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398236

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

Preview Lab → · Contrast checker → · Palette generator →

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