#397519#397519

#397519 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.3% C 0.138 H 137.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#397519
RGBrgb(57, 117, 25)
HSLhsl(99, 65%, 28%)
HSVhsv(99, 79%, 46%)
CMYKcmyk(51.3%, 0%, 78.6%, 54.1%)
CIE-LABlab(43.74, -36.37, 41.78)
CIE-LCHlch(43.74, 55.40, 131.04°)
OKLaboklab(50.29% -0.1009 0.0935)
OKLCHoklch(50.29% 0.138 137.2)
XYZxyz(8.2238, 13.6620, 3.1232)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397519 #551975
analogous
#677519 #397519 #197527
triadic
#397519 #193975 #751939
tetradic
#397519 #196775 #551975 #752719
square
#397519 #196775 #551975 #752719
split-complementary
#397519 #271975 #751967
monochromatic
#0C1905 #20430E #397519 #52A724 #6CD435

Accessibility & contrast

On white

5.63
#397519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#397519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397519
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397519#FFFFFF#000000##FFFFFF
##3975191.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A05
Deuteranopia (green-blind)
#716623
Tritanopia (blue-blind)
#357164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #397519;
/* rgb */ color: rgb(57, 117, 25);
/* oklch */ color: oklch(50.3% 0.138 137.2);
Tailwind
colors: {
  custom: {
    50: '#769d5d',
    500: '#397519',
    950: '#000000',
  },
}
SCSS
$custom: #397519;
$custom-light: #769d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#397519",
  "rgb": {
    "r": 57,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 99.13,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50294,
    "c": 0.13759,
    "h": 137.2
  },
  "luminance": 0.13663
}

Semantic roles & 50–950 ramp

primary
#397519
secondary
#8540AA
accent
#40E8AD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397519

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

Preview Lab → · Contrast checker → · Palette generator →

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