#397716#397716

#397716 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 50.8% C 0.142 H 137.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#397716
RGBrgb(57, 119, 22)
HSLhsl(98, 69%, 28%)
HSVhsv(98, 82%, 47%)
CMYKcmyk(52.1%, 0%, 81.5%, 53.3%)
CIE-LABlab(44.41, -37.40, 43.47)
CIE-LCHlch(44.41, 57.35, 130.71°)
OKLaboklab(50.83% -0.1039 0.0966)
OKLCHoklch(50.83% 0.142 137.1)
XYZxyz(8.4287, 14.1208, 3.0403)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397716 #541677
analogous
#697716 #397716 #167724
triadic
#397716 #163977 #771639
tetradic
#397716 #166977 #541677 #772416
square
#397716 #166977 #541677 #772416
split-complementary
#397716 #241677 #771669
monochromatic
#0C1A05 #20430C #397716 #52AB20 #6CD92F

Accessibility & contrast

On white

5.49
#397716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#397716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397716
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397716#FFFFFF#000000##FFFFFF
##3977161.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#357265
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #397716;
/* rgb */ color: rgb(57, 119, 22);
/* oklch */ color: oklch(50.8% 0.142 137.1);
Tailwind
colors: {
  custom: {
    50: '#769f5c',
    500: '#397716',
    950: '#000000',
  },
}
SCSS
$custom: #397716;
$custom-light: #769f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#397716",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 98.351,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50833,
    "c": 0.14185,
    "h": 137.1
  },
  "luminance": 0.14121
}

Semantic roles & 50–950 ramp

primary
#397716
secondary
#843CAC
accent
#3CECAC
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397716

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

Preview Lab → · Contrast checker → · Palette generator →

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