#397015#397015

#397015 is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 48.9% C 0.133 H 136.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#397015
RGBrgb(57, 112, 21)
HSLhsl(96, 68%, 26%)
HSVhsv(96, 81%, 44%)
CMYKcmyk(49.1%, 0%, 81.2%, 56.1%)
CIE-LABlab(42.02, -34.51, 41.54)
CIE-LCHlch(42.02, 54.01, 129.72°)
OKLaboklab(48.87% -0.0962 0.0924)
OKLCHoklch(48.87% 0.133 136.1)
XYZxyz(7.6167, 12.5118, 2.7230)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397015 #4C1570
analogous
#667015 #397015 #15701E
triadic
#397015 #153970 #701539
tetradic
#397015 #156670 #4C1570 #701E15
square
#397015 #156670 #4C1570 #701E15
split-complementary
#397015 #1E1570 #701566
monochromatic
#0D1A05 #1F3C0B #397015 #53A41F #6ED729

Accessibility & contrast

On white

6.00
#397015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#397015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397015
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397015#FFFFFF#000000##FFFFFF
##3970151.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6D611F
Tritanopia (blue-blind)
#376C5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #397015;
/* rgb */ color: rgb(57, 112, 21);
/* oklch */ color: oklch(48.9% 0.133 136.1);
Tailwind
colors: {
  custom: {
    50: '#75995b',
    500: '#397015',
    950: '#000000',
  },
}
SCSS
$custom: #397015;
$custom-light: #75995b;
$custom-dark: #000000;
JSON
{
  "hex": "#397015",
  "rgb": {
    "r": 57,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 96.264,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48867,
    "c": 0.13337,
    "h": 136.1
  },
  "luminance": 0.12512
}

Semantic roles & 50–950 ramp

primary
#397015
secondary
#7C3BA6
accent
#3DEBA6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397015

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

Preview Lab → · Contrast checker → · Palette generator →

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