#397916#397916

#397916 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.4% C 0.144 H 137.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#397916
RGBrgb(57, 121, 22)
HSLhsl(99, 69%, 28%)
HSVhsv(99, 82%, 47%)
CMYKcmyk(52.9%, 0%, 81.8%, 52.5%)
CIE-LABlab(45.08, -38.22, 44.11)
CIE-LCHlch(45.08, 58.37, 130.91°)
OKLaboklab(51.39% -0.1061 0.0979)
OKLCHoklch(51.39% 0.144 137.3)
XYZxyz(8.6693, 14.6019, 3.1205)
Luminance0.1460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397916 #561679
analogous
#6A7916 #397916 #167924
triadic
#397916 #163979 #791639
tetradic
#397916 #166A79 #561679 #792416
square
#397916 #166A79 #561679 #792416
split-complementary
#397916 #241679 #79166A
monochromatic
#0C1A05 #21450D #397916 #51AD1F #6CD930

Accessibility & contrast

On white

5.36
#397916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#397916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397916
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397916#FFFFFF#000000##FFFFFF
##3979161.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#357467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #397916;
/* rgb */ color: rgb(57, 121, 22);
/* oklch */ color: oklch(51.4% 0.144 137.3);
Tailwind
colors: {
  custom: {
    50: '#77a05c',
    500: '#397916',
    950: '#000000',
  },
}
SCSS
$custom: #397916;
$custom-light: #77a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#397916",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 98.788,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51391,
    "c": 0.14438,
    "h": 137.3
  },
  "luminance": 0.14603
}

Semantic roles & 50–950 ramp

primary
#397916
secondary
#863DAE
accent
#3CECAE
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #397916

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

Preview Lab → · Contrast checker → · Palette generator →

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