#397814#397814

#397814 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.1% C 0.144 H 137.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#397814
RGBrgb(57, 120, 20)
HSLhsl(98, 71%, 27%)
HSVhsv(98, 83%, 47%)
CMYKcmyk(52.5%, 0%, 83.3%, 52.9%)
CIE-LABlab(44.73, -37.93, 44.43)
CIE-LCHlch(44.73, 58.41, 130.49°)
OKLaboklab(51.1% -0.1054 0.0983)
OKLCHoklch(51.1% 0.144 137)
XYZxyz(8.5298, 14.3527, 2.9826)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397814 #531478
analogous
#6B7814 #397814 #147821
triadic
#397814 #143978 #781439
tetradic
#397814 #146B78 #531478 #782114
square
#397814 #146B78 #531478 #782114
split-complementary
#397814 #211478 #78146B
monochromatic
#0C1A04 #20440B #397814 #52AC1D #6CDC2B

Accessibility & contrast

On white

5.43
#397814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#397814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397814
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397814#FFFFFF#000000##FFFFFF
##3978141.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#357366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #397814;
/* rgb */ color: rgb(57, 120, 20);
/* oklch */ color: oklch(51.1% 0.144 137.0);
Tailwind
colors: {
  custom: {
    50: '#779f5b',
    500: '#397814',
    950: '#000000',
  },
}
SCSS
$custom: #397814;
$custom-light: #779f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#397814",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 20
  },
  "hsl": {
    "h": 97.8,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.511,
    "c": 0.14412,
    "h": 137
  },
  "luminance": 0.14353
}

Semantic roles & 50–950 ramp

primary
#397814
secondary
#833AAE
accent
#3AEEAB
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397814

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

Preview Lab → · Contrast checker → · Palette generator →

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