#396228#396228

#396228 is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.1% C 0.099 H 137.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#396228
RGBrgb(57, 98, 40)
HSLhsl(102, 42%, 27%)
HSVhsv(102, 59%, 38%)
CMYKcmyk(41.8%, 0%, 59.2%, 61.6%)
CIE-LABlab(37.40, -26.38, 28.18)
CIE-LCHlch(37.40, 38.60, 133.11°)
OKLaboklab(45.14% -0.0726 0.0667)
OKLCHoklch(45.14% 0.099 137.4)
XYZxyz(6.4378, 9.7581, 3.5514)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396228 #512862
analogous
#566228 #396228 #286234
triadic
#396228 #283962 #622839
tetradic
#396228 #285662 #512862 #623428
square
#396228 #285662 #512862 #623428
split-complementary
#396228 #342862 #622856
monochromatic
#0D1609 #203716 #396228 #528D3A #6CB74E

Accessibility & contrast

On white

7.11
#396228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#396228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #396228
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396228#FFFFFF#000000##FFFFFF
##3962281.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A22
Deuteranopia (green-blind)
#5F572C
Tritanopia (blue-blind)
#375F55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #396228;
/* rgb */ color: rgb(57, 98, 40);
/* oklch */ color: oklch(45.1% 0.099 137.4);
Tailwind
colors: {
  custom: {
    50: '#728f64',
    500: '#396228',
    950: '#000000',
  },
}
SCSS
$custom: #396228;
$custom-light: #728f64;
$custom-dark: #000000;
JSON
{
  "hex": "#396228",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 40
  },
  "hsl": {
    "h": 102.414,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.45142,
    "c": 0.09861,
    "h": 137.4
  },
  "luminance": 0.09758
}

Semantic roles & 50–950 ramp

primary
#396228
secondary
#815195
accent
#56D2AE
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#080C05
muted
#7B7D7A

Preview Lab

Preview with #396228

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

Preview Lab → · Contrast checker → · Palette generator →

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