#397718#397718

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

Color values

HEX#397718
RGBrgb(57, 119, 24)
HSLhsl(99, 66%, 28%)
HSVhsv(99, 80%, 47%)
CMYKcmyk(52.1%, 0%, 79.8%, 53.3%)
CIE-LABlab(44.42, -37.27, 42.80)
CIE-LCHlch(44.42, 56.75, 131.05°)
OKLaboklab(50.85% -0.1034 0.0955)
OKLCHoklch(50.85% 0.141 137.3)
XYZxyz(8.4488, 14.1289, 3.1459)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397718 #561877
analogous
#687718 #397718 #187726
triadic
#397718 #183977 #771839
tetradic
#397718 #186877 #561877 #772618
square
#397718 #186877 #561877 #772618
split-complementary
#397718 #261877 #771868
monochromatic
#0C1905 #21440E #397718 #51AA22 #6CD633

Accessibility & contrast

On white

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

On black

3.83
#397718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##397718#FFFFFF#000000##FFFFFF
##3977181.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#357365
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #397718;
/* rgb */ color: rgb(57, 119, 24);
/* oklch */ color: oklch(50.8% 0.141 137.3);
Tailwind
colors: {
  custom: {
    50: '#769f5d',
    500: '#397718',
    950: '#000000',
  },
}
SCSS
$custom: #397718;
$custom-light: #769f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#397718",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 99.158,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50846,
    "c": 0.14075,
    "h": 137.3
  },
  "luminance": 0.14129
}

Semantic roles & 50–950 ramp

primary
#397718
secondary
#863FAC
accent
#3EE9AE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397718

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

Preview Lab → · Contrast checker → · Palette generator →

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