#397313#397313

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

Color values

HEX#397313
RGBrgb(57, 115, 19)
HSLhsl(96, 72%, 26%)
HSVhsv(96, 83%, 45%)
CMYKcmyk(50.4%, 0%, 83.5%, 54.9%)
CIE-LABlab(43.03, -35.91, 43.16)
CIE-LCHlch(43.03, 56.14, 129.76°)
OKLaboklab(49.7% -0.1 0.0955)
OKLCHoklch(49.7% 0.138 136.3)
XYZxyz(7.9354, 13.1778, 2.7414)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397313 #4D1373
analogous
#697313 #397313 #13731D
triadic
#397313 #133973 #731339
tetradic
#397313 #136973 #4D1373 #731D13
square
#397313 #136973 #4D1373 #731D13
split-complementary
#397313 #1D1373 #731369
monochromatic
#0D1A04 #1F3E0A #397313 #53A81C #6DDB25

Accessibility & contrast

On white

5.78
#397313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #397313
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397313#FFFFFF#000000##FFFFFF
##3973131.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#366E61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #397313;
/* rgb */ color: rgb(57, 115, 19);
/* oklch */ color: oklch(49.7% 0.138 136.3);
Tailwind
colors: {
  custom: {
    50: '#769c5a',
    500: '#397313',
    950: '#000000',
  },
}
SCSS
$custom: #397313;
$custom-light: #769c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#397313",
  "rgb": {
    "r": 57,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 96.25,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49696,
    "c": 0.13829,
    "h": 136.3
  },
  "luminance": 0.13178
}

Semantic roles & 50–950 ramp

primary
#397313
secondary
#7D38AA
accent
#39EEA7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397313

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

Preview Lab → · Contrast checker → · Palette generator →

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