#397516#397516

#397516 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.3% C 0.139 H 136.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#397516
RGBrgb(57, 117, 22)
HSLhsl(98, 68%, 27%)
HSVhsv(98, 81%, 46%)
CMYKcmyk(51.3%, 0%, 81.2%, 54.1%)
CIE-LABlab(43.73, -36.57, 42.83)
CIE-LCHlch(43.73, 56.32, 130.49°)
OKLaboklab(50.27% -0.1016 0.0953)
OKLCHoklch(50.27% 0.139 136.9)
XYZxyz(8.1932, 13.6498, 2.9618)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397516 #521675
analogous
#687516 #397516 #167523
triadic
#397516 #163975 #751639
tetradic
#397516 #166875 #521675 #752316
square
#397516 #166875 #521675 #752316
split-complementary
#397516 #231675 #751668
monochromatic
#0D1A05 #20410C #397516 #52A920 #6CD82E

Accessibility & contrast

On white

5.63
#397516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#397516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397516
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397516#FFFFFF#000000##FFFFFF
##3975161.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#367063
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #397516;
/* rgb */ color: rgb(57, 117, 22);
/* oklch */ color: oklch(50.3% 0.139 136.9);
Tailwind
colors: {
  custom: {
    50: '#769d5c',
    500: '#397516',
    950: '#000000',
  },
}
SCSS
$custom: #397516;
$custom-light: #769d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#397516",
  "rgb": {
    "r": 57,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 97.895,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50274,
    "c": 0.13929,
    "h": 136.9
  },
  "luminance": 0.1365
}

Semantic roles & 50–950 ramp

primary
#397516
secondary
#823CAB
accent
#3DEBAB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397516

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

Preview Lab → · Contrast checker → · Palette generator →

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