#397F13#397F13

#397F13 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.0% C 0.153 H 137.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#397F13
RGBrgb(57, 127, 19)
HSLhsl(99, 74%, 29%)
HSVhsv(99, 85%, 50%)
CMYKcmyk(55.1%, 0%, 85%, 50.2%)
CIE-LABlab(47.10, -40.80, 46.89)
CIE-LCHlch(47.10, 62.16, 131.03°)
OKLaboklab(53.05% -0.1132 0.1033)
OKLCHoklch(53.05% 0.153 137.6)
XYZxyz(9.3939, 16.0949, 3.2276)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F13 #59137F
analogous
#6F7F13 #397F13 #137F23
triadic
#397F13 #13397F #7F1339
tetradic
#397F13 #136F7F #59137F #7F2313
square
#397F13 #136F7F #59137F #7F2313
split-complementary
#397F13 #23137F #7F136F
monochromatic
#0C1B04 #214A0B #397F13 #51B41B #6CE02D

Accessibility & contrast

On white

4.98
#397F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#397F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F13
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F13#FFFFFF#000000##FFFFFF
##397F131.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6E21
Tritanopia (blue-blind)
#347A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f13;
/* rgb */ color: rgb(57, 127, 19);
/* oklch */ color: oklch(53.0% 0.153 137.6);
Tailwind
colors: {
  custom: {
    50: '#78a55c',
    500: '#397f13',
    950: '#000000',
  },
}
SCSS
$custom: #397f13;
$custom-light: #78a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#397f13",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 98.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53047,
    "c": 0.15323,
    "h": 137.6
  },
  "luminance": 0.16096
}

Semantic roles & 50–950 ramp

primary
#397F13
secondary
#8939B4
accent
#37F1AF
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #397F13

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

Preview Lab → · Contrast checker → · Palette generator →

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