#397819#397819

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

Color values

HEX#397819
RGBrgb(57, 120, 25)
HSLhsl(100, 66%, 28%)
HSVhsv(100, 79%, 47%)
CMYKcmyk(52.5%, 0%, 79.2%, 52.9%)
CIE-LABlab(44.76, -37.62, 42.78)
CIE-LCHlch(44.76, 56.97, 131.33°)
OKLaboklab(51.13% -0.1043 0.0956)
OKLCHoklch(51.13% 0.141 137.5)
XYZxyz(8.5790, 14.3724, 3.2416)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397819 #581978
analogous
#687819 #397819 #197828
triadic
#397819 #193978 #781939
tetradic
#397819 #196878 #581978 #782819
square
#397819 #196878 #581978 #782819
split-complementary
#397819 #281978 #781968
monochromatic
#0C1905 #21450E #397819 #51AB24 #6CD536

Accessibility & contrast

On white

5.42
#397819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #397819
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397819#FFFFFF#000000##FFFFFF
##3978191.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#357466
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #397819;
/* rgb */ color: rgb(57, 120, 25);
/* oklch */ color: oklch(51.1% 0.141 137.5);
Tailwind
colors: {
  custom: {
    50: '#769f5e',
    500: '#397819',
    950: '#000000',
  },
}
SCSS
$custom: #397819;
$custom-light: #769f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#397819",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 99.789,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51132,
    "c": 0.14147,
    "h": 137.5
  },
  "luminance": 0.14373
}

Semantic roles & 50–950 ramp

primary
#397819
secondary
#8840AD
accent
#3FE8AF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #397819

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

Preview Lab → · Contrast checker → · Palette generator →

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