#396231#396231

#396231 is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.3% C 0.089 H 140.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#396231
RGBrgb(57, 98, 49)
HSLhsl(110, 33%, 29%)
HSVhsv(110, 50%, 38%)
CMYKcmyk(41.8%, 0%, 50%, 61.6%)
CIE-LABlab(37.53, -25.12, 23.38)
CIE-LCHlch(37.53, 34.32, 137.06°)
OKLaboklab(45.28% -0.0687 0.0568)
OKLCHoklch(45.28% 0.089 140.4)
XYZxyz(6.6091, 9.8266, 4.4536)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396231 #5A3162
analogous
#526231 #396231 #316242
triadic
#396231 #313962 #623139
tetradic
#396231 #315262 #5A3162 #624231
square
#396231 #315262 #5A3162 #624231
split-complementary
#396231 #423162 #623152
monochromatic
#0C140A #21391D #396231 #518B45 #6CAF5F

Accessibility & contrast

On white

7.08
#396231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#396231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #396231
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396231#FFFFFF#000000##FFFFFF
##3962311.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B2D
Deuteranopia (green-blind)
#5E5734
Tritanopia (blue-blind)
#365F56
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #396231;
/* rgb */ color: rgb(57, 98, 49);
/* oklch */ color: oklch(45.3% 0.089 140.4);
Tailwind
colors: {
  custom: {
    50: '#728f6a',
    500: '#396231',
    950: '#000000',
  },
}
SCSS
$custom: #396231;
$custom-light: #728f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#396231",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 49
  },
  "hsl": {
    "h": 110.204,
    "s": 33.333,
    "l": 28.824
  },
  "oklch": {
    "l": 0.45284,
    "c": 0.08909,
    "h": 140.4
  },
  "luminance": 0.09827
}

Semantic roles & 50–950 ramp

primary
#396231
secondary
#8A5C93
accent
#5EC9B8
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#080C06
muted
#7B7D7A

Preview Lab

Preview with #396231

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

Preview Lab → · Contrast checker → · Palette generator →

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