#397A15#397A15

#397A15 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.7% C 0.146 H 137.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#397A15
RGBrgb(57, 122, 21)
HSLhsl(99, 71%, 28%)
HSVhsv(99, 83%, 48%)
CMYKcmyk(53.3%, 0%, 82.8%, 52.2%)
CIE-LABlab(45.42, -38.69, 44.75)
CIE-LCHlch(45.42, 59.15, 130.85°)
OKLaboklab(51.66% -0.1074 0.0991)
OKLCHoklch(51.66% 0.146 137.3)
XYZxyz(8.7820, 14.8424, 3.1114)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A15 #56157A
analogous
#6B7A15 #397A15 #157A24
triadic
#397A15 #15397A #7A1539
tetradic
#397A15 #156B7A #56157A #7A2415
square
#397A15 #156B7A #56157A #7A2415
split-complementary
#397A15 #24157A #7A156B
monochromatic
#0C1A04 #21460C #397A15 #51AE1E #6CDB2E

Accessibility & contrast

On white

5.29
#397A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#397A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397A15
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A15#FFFFFF#000000##FFFFFF
##397A151.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#357567
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #397a15;
/* rgb */ color: rgb(57, 122, 21);
/* oklch */ color: oklch(51.7% 0.146 137.3);
Tailwind
colors: {
  custom: {
    50: '#77a15c',
    500: '#397a15',
    950: '#000000',
  },
}
SCSS
$custom: #397a15;
$custom-light: #77a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#397a15",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 98.614,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51664,
    "c": 0.14613,
    "h": 137.3
  },
  "luminance": 0.14843
}

Semantic roles & 50–950 ramp

primary
#397A15
secondary
#863BAF
accent
#3AEDAE
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #397A15

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

Preview Lab → · Contrast checker → · Palette generator →

#397A15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva