#396227#396227

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

Color values

HEX#396227
RGBrgb(57, 98, 39)
HSLhsl(102, 43%, 27%)
HSVhsv(102, 60%, 38%)
CMYKcmyk(41.8%, 0%, 60.2%, 61.6%)
CIE-LABlab(37.39, -26.50, 28.69)
CIE-LCHlch(37.39, 39.06, 132.73°)
OKLaboklab(45.13% -0.073 0.0677)
OKLCHoklch(45.13% 0.1 137.2)
XYZxyz(6.4210, 9.7514, 3.4629)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396227 #502762
analogous
#576227 #396227 #276233
triadic
#396227 #273962 #622739
tetradic
#396227 #275762 #502762 #623327
square
#396227 #275762 #502762 #623327
split-complementary
#396227 #332762 #622757
monochromatic
#0D1609 #203616 #396227 #528E38 #6DB84C

Accessibility & contrast

On white

7.12
#396227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #396227
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396227#FFFFFF#000000##FFFFFF
##3962271.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #396227;
/* rgb */ color: rgb(57, 98, 39);
/* oklch */ color: oklch(45.1% 0.100 137.2);
Tailwind
colors: {
  custom: {
    50: '#728f63',
    500: '#396227',
    950: '#000000',
  },
}
SCSS
$custom: #396227;
$custom-light: #728f63;
$custom-dark: #000000;
JSON
{
  "hex": "#396227",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 39
  },
  "hsl": {
    "h": 101.695,
    "s": 43.066,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45128,
    "c": 0.0996,
    "h": 137.2
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

primary
#396227
secondary
#805095
accent
#55D3AC
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#080C05
muted
#7B7D7A

Preview Lab

Preview with #396227

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

Preview Lab → · Contrast checker → · Palette generator →

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