#397826#397826

#397826 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.2% C 0.133 H 139.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#397826
RGBrgb(57, 120, 38)
HSLhsl(106, 52%, 31%)
HSVhsv(106, 68%, 47%)
CMYKcmyk(52.5%, 0%, 68.3%, 52.9%)
CIE-LABlab(44.86, -36.53, 37.57)
CIE-LCHlch(44.86, 52.41, 134.20°)
OKLaboklab(51.24% -0.1004 0.0866)
OKLCHoklch(51.24% 0.133 139.2)
XYZxyz(8.7533, 14.4421, 4.1597)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397826 #652678
analogous
#627826 #397826 #26783C
triadic
#397826 #263978 #782639
tetradic
#397826 #266278 #652678 #783C26
square
#397826 #266278 #652678 #783C26
split-complementary
#397826 #3C2678 #782662
monochromatic
#0D1B09 #234A17 #397826 #4FA635 #6CC851

Accessibility & contrast

On white

5.40
#397826 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#397826 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397826
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397826#FFFFFF#000000##FFFFFF
##3978261.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D1B
Deuteranopia (green-blind)
#73682D
Tritanopia (blue-blind)
#337467
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #397826;
/* rgb */ color: rgb(57, 120, 38);
/* oklch */ color: oklch(51.2% 0.133 139.2);
Tailwind
colors: {
  custom: {
    50: '#769f64',
    500: '#397826',
    950: '#000000',
  },
}
SCSS
$custom: #397826;
$custom-light: #769f64;
$custom-dark: #000000;
JSON
{
  "hex": "#397826",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 38
  },
  "hsl": {
    "h": 106.098,
    "s": 51.899,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51244,
    "c": 0.13259,
    "h": 139.2
  },
  "luminance": 0.14443
}

Semantic roles & 50–950 ramp

primary
#397826
secondary
#9550AA
accent
#4CDBBA
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #397826

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

Preview Lab → · Contrast checker → · Palette generator →

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