#397028#397028

#397028 is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.120 H 139.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#397028
RGBrgb(57, 112, 40)
HSLhsl(106, 47%, 30%)
HSVhsv(106, 64%, 44%)
CMYKcmyk(49.1%, 0%, 64.3%, 56.1%)
CIE-LABlab(42.17, -32.86, 33.66)
CIE-LCHlch(42.17, 47.04, 134.31°)
OKLaboklab(49.04% -0.0903 0.0785)
OKLCHoklch(49.04% 0.12 139)
XYZxyz(7.8642, 12.6109, 4.0268)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397028 #5F2870
analogous
#5D7028 #397028 #28703B
triadic
#397028 #283970 #702839
tetradic
#397028 #285D70 #5F2870 #703B28
square
#397028 #285D70 #5F2870 #703B28
split-complementary
#397028 #3B2870 #70285D
monochromatic
#0B1708 #224318 #397028 #509D38 #6CC151

Accessibility & contrast

On white

5.96
#397028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#397028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397028
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397028#FFFFFF#000000##FFFFFF
##3970281.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736620
Deuteranopia (green-blind)
#6C622E
Tritanopia (blue-blind)
#356C61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #397028;
/* rgb */ color: rgb(57, 112, 40);
/* oklch */ color: oklch(49.0% 0.120 139.0);
Tailwind
colors: {
  custom: {
    50: '#749965',
    500: '#397028',
    950: '#000000',
  },
}
SCSS
$custom: #397028;
$custom-light: #749965;
$custom-dark: #000000;
JSON
{
  "hex": "#397028",
  "rgb": {
    "r": 57,
    "g": 112,
    "b": 40
  },
  "hsl": {
    "h": 105.833,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49042,
    "c": 0.11967,
    "h": 139
  },
  "luminance": 0.12611
}

Semantic roles & 50–950 ramp

primary
#397028
secondary
#8F51A2
accent
#51D7B7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #397028

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

Preview Lab → · Contrast checker → · Palette generator →

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