#397315#397315

#397315 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.7% C 0.137 H 136.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#397315
RGBrgb(57, 115, 21)
HSLhsl(97, 69%, 27%)
HSVhsv(97, 82%, 45%)
CMYKcmyk(50.4%, 0%, 81.7%, 54.9%)
CIE-LABlab(43.04, -35.79, 42.51)
CIE-LCHlch(43.04, 55.57, 130.09°)
OKLaboklab(49.71% -0.0996 0.0944)
OKLCHoklch(49.71% 0.137 136.5)
XYZxyz(7.9532, 13.1849, 2.8352)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397315 #4F1573
analogous
#687315 #397315 #157320
triadic
#397315 #153973 #731539
tetradic
#397315 #156873 #4F1573 #732015
square
#397315 #156873 #4F1573 #732015
split-complementary
#397315 #201573 #731568
monochromatic
#0D1A05 #1F3F0C #397315 #53A71E #6DD82A

Accessibility & contrast

On white

5.77
#397315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#397315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397315
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397315#FFFFFF#000000##FFFFFF
##3973151.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#366F62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #397315;
/* rgb */ color: rgb(57, 115, 21);
/* oklch */ color: oklch(49.7% 0.137 136.5);
Tailwind
colors: {
  custom: {
    50: '#769c5b',
    500: '#397315',
    950: '#000000',
  },
}
SCSS
$custom: #397315;
$custom-light: #769c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#397315",
  "rgb": {
    "r": 57,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 97.021,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49708,
    "c": 0.13726,
    "h": 136.5
  },
  "luminance": 0.13185
}

Semantic roles & 50–950 ramp

primary
#397315
secondary
#7F3BA9
accent
#3CECA9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397315

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

Preview Lab → · Contrast checker → · Palette generator →

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