#397921#397921

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

Color values

HEX#397921
RGBrgb(57, 121, 33)
HSLhsl(104, 57%, 30%)
HSVhsv(104, 73%, 47%)
CMYKcmyk(52.9%, 0%, 72.7%, 52.5%)
CIE-LABlab(45.16, -37.42, 40.06)
CIE-LCHlch(45.16, 54.82, 133.04°)
OKLaboklab(51.47% -0.1032 0.0911)
OKLCHoklch(51.47% 0.138 138.5)
XYZxyz(8.7989, 14.6538, 3.8033)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397921 #612179
analogous
#657921 #397921 #217935
triadic
#397921 #213979 #792139
tetradic
#397921 #216579 #612179 #793521
square
#397921 #216579 #612179 #793521
split-complementary
#397921 #352179 #792165
monochromatic
#0C1907 #224914 #397921 #50A92E #6CCD47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397921#FFFFFF#000000##FFFFFF
##3979211.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)
#7D6E13
Deuteranopia (green-blind)
#746929
Tritanopia (blue-blind)
#347567
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #397921;
/* rgb */ color: rgb(57, 121, 33);
/* oklch */ color: oklch(51.5% 0.138 138.5);
Tailwind
colors: {
  custom: {
    50: '#76a062',
    500: '#397921',
    950: '#000000',
  },
}
SCSS
$custom: #397921;
$custom-light: #76a062;
$custom-dark: #000000;
JSON
{
  "hex": "#397921",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 33
  },
  "hsl": {
    "h": 103.636,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51474,
    "c": 0.13766,
    "h": 138.5
  },
  "luminance": 0.14654
}

Semantic roles & 50–950 ramp

primary
#397921
secondary
#914AAC
accent
#47E0B7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090F05
muted
#7B7E7A

Preview Lab

Preview with #397921

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

Preview Lab → · Contrast checker → · Palette generator →

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