#397B14#397B14

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

Color values

HEX#397B14
RGBrgb(57, 123, 20)
HSLhsl(98, 72%, 28%)
HSVhsv(98, 84%, 48%)
CMYKcmyk(53.7%, 0%, 83.7%, 51.8%)
CIE-LABlab(45.75, -39.15, 45.37)
CIE-LCHlch(45.75, 59.92, 130.79°)
OKLaboklab(51.94% -0.1087 0.1003)
OKLCHoklch(51.94% 0.148 137.3)
XYZxyz(8.8963, 15.0856, 3.1047)
Luminance0.1509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B14 #56147B
analogous
#6C7B14 #397B14 #147B23
triadic
#397B14 #14397B #7B1439
tetradic
#397B14 #146C7B #56147B #7B2314
square
#397B14 #146C7B #56147B #7B2314
split-complementary
#397B14 #23147B #7B146C
monochromatic
#0C1A04 #21460B #397B14 #51B01D #6CDD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397B14#FFFFFF#000000##FFFFFF
##397B141.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)
#347668
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397b14;
/* rgb */ color: rgb(57, 123, 20);
/* oklch */ color: oklch(51.9% 0.148 137.3);
Tailwind
colors: {
  custom: {
    50: '#77a25c',
    500: '#397b14',
    950: '#000000',
  },
}
SCSS
$custom: #397b14;
$custom-light: #77a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#397b14",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 98.447,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51938,
    "c": 0.14787,
    "h": 137.3
  },
  "luminance": 0.15086
}

Semantic roles & 50–950 ramp

primary
#397B14
secondary
#863AB1
accent
#39EFAD
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #397B14

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

Preview Lab → · Contrast checker → · Palette generator →

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