#397926#397926

#397926 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.134 H 139.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#397926
RGBrgb(57, 121, 38)
HSLhsl(106, 52%, 31%)
HSVhsv(106, 69%, 47%)
CMYKcmyk(52.9%, 0%, 68.6%, 52.5%)
CIE-LABlab(45.20, -36.96, 37.94)
CIE-LCHlch(45.20, 52.96, 134.25°)
OKLaboklab(51.52% -0.1016 0.0873)
OKLCHoklch(51.52% 0.134 139.3)
XYZxyz(8.8742, 14.6839, 4.2000)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397926 #662679
analogous
#627926 #397926 #26793C
triadic
#397926 #263979 #792639
tetradic
#397926 #266279 #662679 #793C26
square
#397926 #266279 #662679 #793C26
split-complementary
#397926 #3C2679 #792662
monochromatic
#0D1C09 #234A17 #397926 #4FA835 #6CC851

Accessibility & contrast

On white

5.33
#397926 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#397926 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397926
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397926#FFFFFF#000000##FFFFFF
##3979261.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E1B
Deuteranopia (green-blind)
#74692D
Tritanopia (blue-blind)
#337568
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #397926;
/* rgb */ color: rgb(57, 121, 38);
/* oklch */ color: oklch(51.5% 0.134 139.3);
Tailwind
colors: {
  custom: {
    50: '#76a065',
    500: '#397926',
    950: '#000000',
  },
}
SCSS
$custom: #397926;
$custom-light: #76a065;
$custom-dark: #000000;
JSON
{
  "hex": "#397926",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 38
  },
  "hsl": {
    "h": 106.265,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51522,
    "c": 0.13396,
    "h": 139.3
  },
  "luminance": 0.14685
}

Semantic roles & 50–950 ramp

primary
#397926
secondary
#9650AB
accent
#4CDCBB
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090F06
muted
#7B7E7A

Preview Lab

Preview with #397926

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

Preview Lab → · Contrast checker → · Palette generator →

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