#397B13#397B13

#397B13 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 51.9% C 0.148 H 137.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#397B13
RGBrgb(57, 123, 19)
HSLhsl(98, 73%, 28%)
HSVhsv(98, 85%, 48%)
CMYKcmyk(53.7%, 0%, 84.6%, 51.8%)
CIE-LABlab(45.75, -39.20, 45.66)
CIE-LCHlch(45.75, 60.18, 130.65°)
OKLaboklab(51.93% -0.1089 0.1007)
OKLCHoklch(51.93% 0.148 137.2)
XYZxyz(8.8876, 15.0821, 3.0588)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B13 #55137B
analogous
#6D7B13 #397B13 #137B21
triadic
#397B13 #13397B #7B1339
tetradic
#397B13 #136D7B #55137B #7B2113
square
#397B13 #136D7B #55137B #7B2113
split-complementary
#397B13 #21137B #7B136D
monochromatic
#0C1B04 #20460B #397B13 #52B01B #6CDE2A

Accessibility & contrast

On white

5.23
#397B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#397B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397B13
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397B13#FFFFFF#000000##FFFFFF
##397B131.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#776A20
Tritanopia (blue-blind)
#357668
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397b13;
/* rgb */ color: rgb(57, 123, 19);
/* oklch */ color: oklch(51.9% 0.148 137.2);
Tailwind
colors: {
  custom: {
    50: '#77a25b',
    500: '#397b13',
    950: '#000000',
  },
}
SCSS
$custom: #397b13;
$custom-light: #77a25b;
$custom-dark: #000000;
JSON
{
  "hex": "#397b13",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 19
  },
  "hsl": {
    "h": 98.077,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51932,
    "c": 0.14833,
    "h": 137.2
  },
  "luminance": 0.15083
}

Semantic roles & 50–950 ramp

primary
#397B13
secondary
#8539B1
accent
#38F0AD
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #397B13

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

Preview Lab → · Contrast checker → · Palette generator →

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