#397117#397117

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

Color values

HEX#397117
RGBrgb(57, 113, 23)
HSLhsl(97, 66%, 27%)
HSVhsv(97, 80%, 44%)
CMYKcmyk(49.6%, 0%, 79.6%, 55.7%)
CIE-LABlab(42.37, -34.81, 41.18)
CIE-LCHlch(42.37, 53.92, 130.21°)
OKLaboklab(49.16% -0.0968 0.092)
OKLCHoklch(49.16% 0.134 136.5)
XYZxyz(7.7469, 12.7415, 2.8616)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397117 #4F1771
analogous
#667117 #397117 #177122
triadic
#397117 #173971 #711739
tetradic
#397117 #176671 #4F1771 #712217
square
#397117 #176671 #4F1771 #712217
split-complementary
#397117 #221771 #711766
monochromatic
#0D1905 #1F3E0D #397117 #53A421 #6DD42E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397117#FFFFFF#000000##FFFFFF
##3971171.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)
#756703
Deuteranopia (green-blind)
#6E6221
Tritanopia (blue-blind)
#366D60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #397117;
/* rgb */ color: rgb(57, 113, 23);
/* oklch */ color: oklch(49.2% 0.134 136.5);
Tailwind
colors: {
  custom: {
    50: '#759a5c',
    500: '#397117',
    950: '#000000',
  },
}
SCSS
$custom: #397117;
$custom-light: #759a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#397117",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 97.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49161,
    "c": 0.13355,
    "h": 136.5
  },
  "luminance": 0.12742
}

Semantic roles & 50–950 ramp

primary
#397117
secondary
#7F3DA7
accent
#3FE9A9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397117

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

Preview Lab → · Contrast checker → · Palette generator →

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