#397219#397219

#397219 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.5% C 0.134 H 136.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#397219
RGBrgb(57, 114, 25)
HSLhsl(98, 64%, 27%)
HSVhsv(98, 78%, 45%)
CMYKcmyk(50%, 0%, 78.1%, 55.3%)
CIE-LABlab(42.72, -35.10, 40.78)
CIE-LCHlch(42.72, 53.81, 130.72°)
OKLaboklab(49.46% -0.0975 0.0915)
OKLCHoklch(49.46% 0.134 136.8)
XYZxyz(7.8799, 12.9741, 3.0086)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397219 #521972
analogous
#667219 #397219 #197226
triadic
#397219 #193972 #721939
tetradic
#397219 #196672 #521972 #722619
square
#397219 #196672 #521972 #722619
split-complementary
#397219 #261972 #721966
monochromatic
#0D1906 #20400E #397219 #52A424 #6CD233

Accessibility & contrast

On white

5.84
#397219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#397219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397219
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397219#FFFFFF#000000##FFFFFF
##3972191.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766806
Deuteranopia (green-blind)
#6F6322
Tritanopia (blue-blind)
#366E61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #397219;
/* rgb */ color: rgb(57, 114, 25);
/* oklch */ color: oklch(49.5% 0.134 136.8);
Tailwind
colors: {
  custom: {
    50: '#759b5d',
    500: '#397219',
    950: '#000000',
  },
}
SCSS
$custom: #397219;
$custom-light: #759b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#397219",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 98.427,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49455,
    "c": 0.13366,
    "h": 136.8
  },
  "luminance": 0.12975
}

Semantic roles & 50–950 ramp

primary
#397219
secondary
#8240A7
accent
#41E7AB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397219

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

Preview Lab → · Contrast checker → · Palette generator →

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