#397119#397119

#397119 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.2% C 0.132 H 136.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#397119
RGBrgb(57, 113, 25)
HSLhsl(98, 64%, 27%)
HSVhsv(98, 78%, 44%)
CMYKcmyk(49.6%, 0%, 77.9%, 55.7%)
CIE-LABlab(42.38, -34.67, 40.45)
CIE-LCHlch(42.38, 53.28, 130.60°)
OKLaboklab(49.18% -0.0963 0.0908)
OKLCHoklch(49.18% 0.132 136.7)
XYZxyz(7.7677, 12.7498, 2.9712)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397119 #511971
analogous
#657119 #397119 #197125
triadic
#397119 #193971 #711939
tetradic
#397119 #196571 #511971 #712519
square
#397119 #196571 #511971 #712519
split-complementary
#397119 #251971 #711965
monochromatic
#0D1906 #203F0E #397119 #52A324 #6CD233

Accessibility & contrast

On white

5.92
#397119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#397119 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397119
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397119#FFFFFF#000000##FFFFFF
##3971191.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756707
Deuteranopia (green-blind)
#6E6222
Tritanopia (blue-blind)
#366D60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #397119;
/* rgb */ color: rgb(57, 113, 25);
/* oklch */ color: oklch(49.2% 0.132 136.7);
Tailwind
colors: {
  custom: {
    50: '#759a5d',
    500: '#397119',
    950: '#000000',
  },
}
SCSS
$custom: #397119;
$custom-light: #759a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#397119",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 25
  },
  "hsl": {
    "h": 98.182,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49176,
    "c": 0.13234,
    "h": 136.7
  },
  "luminance": 0.1275
}

Semantic roles & 50–950 ramp

primary
#397119
secondary
#8140A6
accent
#41E7AB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397119

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

Preview Lab → · Contrast checker → · Palette generator →

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