#397923#397923

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

Color values

HEX#397923
RGBrgb(57, 121, 35)
HSLhsl(105, 55%, 31%)
HSVhsv(105, 71%, 47%)
CMYKcmyk(52.9%, 0%, 71.1%, 52.5%)
CIE-LABlab(45.17, -37.24, 39.23)
CIE-LCHlch(45.17, 54.09, 133.51°)
OKLaboklab(51.49% -0.1026 0.0897)
OKLCHoklch(51.49% 0.136 138.8)
XYZxyz(8.8278, 14.6653, 3.9553)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397923 #632379
analogous
#647923 #397923 #237938
triadic
#397923 #233979 #792339
tetradic
#397923 #236479 #632379 #793823
square
#397923 #236479 #632379 #793823
split-complementary
#397923 #382379 #792364
monochromatic
#0C1A08 #234A15 #397923 #4FA831 #6CCB4B

Accessibility & contrast

On white

5.34
#397923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#397923 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397923
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397923#FFFFFF#000000##FFFFFF
##3979231.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #397923;
/* rgb */ color: rgb(57, 121, 35);
/* oklch */ color: oklch(51.5% 0.136 138.8);
Tailwind
colors: {
  custom: {
    50: '#76a063',
    500: '#397923',
    950: '#000000',
  },
}
SCSS
$custom: #397923;
$custom-light: #76a063;
$custom-dark: #000000;
JSON
{
  "hex": "#397923",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 104.651,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51492,
    "c": 0.13623,
    "h": 138.8
  },
  "luminance": 0.14666
}

Semantic roles & 50–950 ramp

primary
#397923
secondary
#934CAC
accent
#49DEB8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090F05
muted
#7B7E7A

Preview Lab

Preview with #397923

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

Preview Lab → · Contrast checker → · Palette generator →

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