#397215#397215

#397215 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.4% C 0.136 H 136.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#397215
RGBrgb(57, 114, 21)
HSLhsl(97, 69%, 26%)
HSVhsv(97, 82%, 45%)
CMYKcmyk(50%, 0%, 81.6%, 55.3%)
CIE-LABlab(42.70, -35.37, 42.19)
CIE-LCHlch(42.70, 55.05, 129.97°)
OKLaboklab(49.43% -0.0985 0.0938)
OKLCHoklch(49.43% 0.136 136.4)
XYZxyz(7.8398, 12.9581, 2.7974)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397215 #4E1572
analogous
#687215 #397215 #157220
triadic
#397215 #153972 #721539
tetradic
#397215 #156872 #4E1572 #722015
square
#397215 #156872 #4E1572 #722015
split-complementary
#397215 #201572 #721568
monochromatic
#0D1A05 #1F3E0B #397215 #53A61F #6DD82A

Accessibility & contrast

On white

5.85
#397215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#397215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397215
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397215#FFFFFF#000000##FFFFFF
##3972151.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #397215;
/* rgb */ color: rgb(57, 114, 21);
/* oklch */ color: oklch(49.4% 0.136 136.4);
Tailwind
colors: {
  custom: {
    50: '#769b5b',
    500: '#397215',
    950: '#000000',
  },
}
SCSS
$custom: #397215;
$custom-light: #769b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#397215",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 96.774,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49428,
    "c": 0.13597,
    "h": 136.4
  },
  "luminance": 0.12959
}

Semantic roles & 50–950 ramp

primary
#397215
secondary
#7E3BA8
accent
#3CECA8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397215

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

Preview Lab → · Contrast checker → · Palette generator →

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