#397113#397113

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

Color values

HEX#397113
RGBrgb(57, 113, 19)
HSLhsl(96, 71%, 26%)
HSVhsv(96, 83%, 44%)
CMYKcmyk(49.6%, 0%, 83.2%, 55.7%)
CIE-LABlab(42.35, -35.06, 42.52)
CIE-LCHlch(42.35, 55.11, 129.51°)
OKLaboklab(49.14% -0.0978 0.0941)
OKLCHoklch(49.14% 0.136 136.1)
XYZxyz(7.7098, 12.7266, 2.6662)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397113 #4B1371
analogous
#687113 #397113 #13711C
triadic
#397113 #133971 #711339
tetradic
#397113 #136871 #4B1371 #711C13
square
#397113 #136871 #4B1371 #711C13
split-complementary
#397113 #1C1371 #711368
monochromatic
#0D1A04 #1F3D0A #397113 #53A51C #6EDA25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397113#FFFFFF#000000##FFFFFF
##3971131.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)
#6E621E
Tritanopia (blue-blind)
#366D60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #397113;
/* rgb */ color: rgb(57, 113, 19);
/* oklch */ color: oklch(49.1% 0.136 136.1);
Tailwind
colors: {
  custom: {
    50: '#769a5a',
    500: '#397113',
    950: '#000000',
  },
}
SCSS
$custom: #397113;
$custom-light: #769a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#397113",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 19
  },
  "hsl": {
    "h": 95.745,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49135,
    "c": 0.13573,
    "h": 136.1
  },
  "luminance": 0.12727
}

Semantic roles & 50–950 ramp

primary
#397113
secondary
#7B38A8
accent
#3AEEA5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397113

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

Preview Lab → · Contrast checker → · Palette generator →

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