#397F15#397F15

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

Color values

HEX#397F15
RGBrgb(57, 127, 21)
HSLhsl(100, 72%, 29%)
HSVhsv(100, 83%, 50%)
CMYKcmyk(55.1%, 0%, 83.5%, 50.2%)
CIE-LABlab(47.11, -40.70, 46.32)
CIE-LCHlch(47.11, 61.66, 131.31°)
OKLaboklab(53.06% -0.1128 0.1024)
OKLCHoklch(53.06% 0.152 137.8)
XYZxyz(9.4117, 16.1020, 3.3214)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F15 #5B157F
analogous
#6E7F15 #397F15 #157F26
triadic
#397F15 #15397F #7F1539
tetradic
#397F15 #156E7F #5B157F #7F2615
square
#397F15 #156E7F #5B157F #7F2615
split-complementary
#397F15 #26157F #7F156E
monochromatic
#0C1A04 #214A0C #397F15 #51B41E #6CDD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397F15#FFFFFF#000000##FFFFFF
##397F151.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)
#7A6E22
Tritanopia (blue-blind)
#347A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f15;
/* rgb */ color: rgb(57, 127, 21);
/* oklch */ color: oklch(53.1% 0.152 137.8);
Tailwind
colors: {
  custom: {
    50: '#78a55d',
    500: '#397f15',
    950: '#000000',
  },
}
SCSS
$custom: #397f15;
$custom-light: #78a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#397f15",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 99.623,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53058,
    "c": 0.15233,
    "h": 137.8
  },
  "luminance": 0.16103
}

Semantic roles & 50–950 ramp

primary
#397F15
secondary
#8B3CB4
accent
#39EEB1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #397F15

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

Preview Lab → · Contrast checker → · Palette generator →

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