#397F14#397F14

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

Color values

HEX#397F14
RGBrgb(57, 127, 20)
HSLhsl(99, 73%, 29%)
HSVhsv(99, 84%, 50%)
CMYKcmyk(55.1%, 0%, 84.3%, 50.2%)
CIE-LABlab(47.10, -40.75, 46.61)
CIE-LCHlch(47.10, 61.91, 131.16°)
OKLaboklab(53.05% -0.113 0.1029)
OKLCHoklch(53.05% 0.153 137.7)
XYZxyz(9.4027, 16.0984, 3.2735)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F14 #5A147F
analogous
#6F7F14 #397F14 #147F25
triadic
#397F14 #14397F #7F1439
tetradic
#397F14 #146F7F #5A147F #7F2514
square
#397F14 #146F7F #5A147F #7F2514
split-complementary
#397F14 #25147F #7F146F
monochromatic
#0C1A04 #214A0C #397F14 #51B41C #6CDE2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397F14#FFFFFF#000000##FFFFFF
##397F141.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: #397f14;
/* rgb */ color: rgb(57, 127, 20);
/* oklch */ color: oklch(53.1% 0.153 137.7);
Tailwind
colors: {
  custom: {
    50: '#78a55c',
    500: '#397f14',
    950: '#000000',
  },
}
SCSS
$custom: #397f14;
$custom-light: #78a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#397f14",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 99.252,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53052,
    "c": 0.15279,
    "h": 137.7
  },
  "luminance": 0.16099
}

Semantic roles & 50–950 ramp

primary
#397F14
secondary
#8A3BB4
accent
#38EFB0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #397F14

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

Preview Lab → · Contrast checker → · Palette generator →

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