#397419#397419

#397419 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.0% C 0.136 H 137.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#397419
RGBrgb(57, 116, 25)
HSLhsl(99, 65%, 28%)
HSVhsv(99, 78%, 45%)
CMYKcmyk(50.9%, 0%, 78.4%, 54.5%)
CIE-LABlab(43.40, -35.95, 41.45)
CIE-LCHlch(43.40, 54.87, 130.93°)
OKLaboklab(50.02% -0.0998 0.0929)
OKLCHoklch(50.02% 0.136 137.1)
XYZxyz(8.1080, 13.4303, 3.0846)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397419 #541974
analogous
#667419 #397419 #197426
triadic
#397419 #193974 #741939
tetradic
#397419 #196674 #541974 #742619
square
#397419 #196674 #541974 #742619
split-complementary
#397419 #261974 #741966
monochromatic
#0C1905 #20420E #397419 #52A624 #6CD334

Accessibility & contrast

On white

5.70
#397419 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#397419 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397419
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397419#FFFFFF#000000##FFFFFF
##3974191.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A05
Deuteranopia (green-blind)
#706523
Tritanopia (blue-blind)
#357063
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #397419;
/* rgb */ color: rgb(57, 116, 25);
/* oklch */ color: oklch(50.0% 0.136 137.1);
Tailwind
colors: {
  custom: {
    50: '#769c5d',
    500: '#397419',
    950: '#000000',
  },
}
SCSS
$custom: #397419;
$custom-light: #769c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#397419",
  "rgb": {
    "r": 57,
    "g": 116,
    "b": 25
  },
  "hsl": {
    "h": 98.901,
    "s": 64.539,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50015,
    "c": 0.13629,
    "h": 137.1
  },
  "luminance": 0.13431
}

Semantic roles & 50–950 ramp

primary
#397419
secondary
#8440A9
accent
#40E8AD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397419

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

Preview Lab → · Contrast checker → · Palette generator →

#397419 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva