#397115#397115

#397115 is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.1% C 0.135 H 136.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#397115
RGBrgb(57, 113, 21)
HSLhsl(97, 69%, 26%)
HSVhsv(97, 81%, 44%)
CMYKcmyk(49.6%, 0%, 81.4%, 55.7%)
CIE-LABlab(42.36, -34.94, 41.87)
CIE-LCHlch(42.36, 54.53, 129.85°)
OKLaboklab(49.15% -0.0973 0.0931)
OKLCHoklch(49.15% 0.135 136.3)
XYZxyz(7.7276, 12.7337, 2.7600)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397115 #4D1571
analogous
#677115 #397115 #15711F
triadic
#397115 #153971 #711539
tetradic
#397115 #156771 #4D1571 #711F15
square
#397115 #156771 #4D1571 #711F15
split-complementary
#397115 #1F1571 #711567
monochromatic
#0D1A05 #1F3D0B #397115 #53A51F #6DD729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397115#FFFFFF#000000##FFFFFF
##3971151.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)
#756700
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#366D60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #397115;
/* rgb */ color: rgb(57, 113, 21);
/* oklch */ color: oklch(49.1% 0.135 136.3);
Tailwind
colors: {
  custom: {
    50: '#769a5b',
    500: '#397115',
    950: '#000000',
  },
}
SCSS
$custom: #397115;
$custom-light: #769a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#397115",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 96.522,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49148,
    "c": 0.13467,
    "h": 136.3
  },
  "luminance": 0.12734
}

Semantic roles & 50–950 ramp

primary
#397115
secondary
#7D3BA7
accent
#3CEBA7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397115

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

Preview Lab → · Contrast checker → · Palette generator →

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