#397111#397111

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

Color values

HEX#397111
RGBrgb(57, 113, 17)
HSLhsl(95, 74%, 25%)
HSVhsv(95, 85%, 44%)
CMYKcmyk(49.6%, 0%, 85%, 55.7%)
CIE-LABlab(42.34, -35.17, 43.14)
CIE-LCHlch(42.34, 55.66, 129.19°)
OKLaboklab(49.12% -0.0982 0.0951)
OKLCHoklch(49.12% 0.137 135.9)
XYZxyz(7.6934, 12.7201, 2.5800)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397111 #491171
analogous
#697111 #397111 #117119
triadic
#397111 #113971 #711139
tetradic
#397111 #116971 #491171 #711911
square
#397111 #116971 #491171 #711911
split-complementary
#397111 #191171 #711169
monochromatic
#0D1B04 #1E3C09 #397111 #54A619 #6FDB21

Accessibility & contrast

On white

5.93
#397111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#397111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397111
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397111#FFFFFF#000000##FFFFFF
##3971111.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#376C60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #397111;
/* rgb */ color: rgb(57, 113, 17);
/* oklch */ color: oklch(49.1% 0.137 135.9);
Tailwind
colors: {
  custom: {
    50: '#769a59',
    500: '#397111',
    950: '#000000',
  },
}
SCSS
$custom: #397111;
$custom-light: #769a59;
$custom-dark: #000000;
JSON
{
  "hex": "#397111",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 95,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49124,
    "c": 0.1367,
    "h": 135.9
  },
  "luminance": 0.12721
}

Semantic roles & 50–950 ramp

primary
#397111
secondary
#7836A8
accent
#37F1A3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397111

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

Preview Lab → · Contrast checker → · Palette generator →

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