#396229#396229

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

Color values

HEX#396229
RGBrgb(57, 98, 41)
HSLhsl(103, 41%, 27%)
HSVhsv(103, 58%, 38%)
CMYKcmyk(41.8%, 0%, 58.2%, 61.6%)
CIE-LABlab(37.42, -26.25, 27.66)
CIE-LCHlch(37.42, 38.13, 133.50°)
OKLaboklab(45.16% -0.0722 0.0657)
OKLCHoklch(45.16% 0.098 137.7)
XYZxyz(6.4551, 9.7650, 3.6421)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396229 #522962
analogous
#566229 #396229 #296236
triadic
#396229 #293962 #622939
tetradic
#396229 #295662 #522962 #623629
square
#396229 #295662 #522962 #623629
split-complementary
#396229 #362962 #622956
monochromatic
#0D1609 #203717 #396229 #528D3B #6CB650

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##396229#FFFFFF#000000##FFFFFF
##3962291.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)
#655A24
Deuteranopia (green-blind)
#5F572D
Tritanopia (blue-blind)
#375F55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #396229;
/* rgb */ color: rgb(57, 98, 41);
/* oklch */ color: oklch(45.2% 0.098 137.7);
Tailwind
colors: {
  custom: {
    50: '#728f64',
    500: '#396229',
    950: '#000000',
  },
}
SCSS
$custom: #396229;
$custom-light: #728f64;
$custom-dark: #000000;
JSON
{
  "hex": "#396229",
  "rgb": {
    "r": 57,
    "g": 98,
    "b": 41
  },
  "hsl": {
    "h": 103.158,
    "s": 41.007,
    "l": 27.255
  },
  "oklch": {
    "l": 0.45156,
    "c": 0.09761,
    "h": 137.7
  },
  "luminance": 0.09765
}

Semantic roles & 50–950 ramp

primary
#396229
secondary
#825295
accent
#57D1AF
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#080C05
muted
#7B7D7A

Preview Lab

Preview with #396229

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

Preview Lab → · Contrast checker → · Palette generator →

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