#397112#397112

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

Color values

HEX#397112
RGBrgb(57, 113, 18)
HSLhsl(95, 73%, 26%)
HSVhsv(95, 84%, 44%)
CMYKcmyk(49.6%, 0%, 84.1%, 55.7%)
CIE-LABlab(42.34, -35.12, 42.84)
CIE-LCHlch(42.34, 55.39, 129.35°)
OKLaboklab(49.13% -0.098 0.0946)
OKLCHoklch(49.13% 0.136 136)
XYZxyz(7.7014, 12.7233, 2.6222)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397112 #4A1271
analogous
#687112 #397112 #12711A
triadic
#397112 #123971 #711239
tetradic
#397112 #126871 #4A1271 #711A12
square
#397112 #126871 #4A1271 #711A12
split-complementary
#397112 #1A1271 #711268
monochromatic
#0D1A04 #1E3C0A #397112 #54A61A #6EDB23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397112#FFFFFF#000000##FFFFFF
##3971121.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.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: #397112;
/* rgb */ color: rgb(57, 113, 18);
/* oklch */ color: oklch(49.1% 0.136 136.0);
Tailwind
colors: {
  custom: {
    50: '#769a59',
    500: '#397112',
    950: '#000000',
  },
}
SCSS
$custom: #397112;
$custom-light: #769a59;
$custom-dark: #000000;
JSON
{
  "hex": "#397112",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 95.368,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49129,
    "c": 0.13622,
    "h": 136
  },
  "luminance": 0.12724
}

Semantic roles & 50–950 ramp

primary
#397112
secondary
#7A37A8
accent
#39EFA4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397112

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

Preview Lab → · Contrast checker → · Palette generator →

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