#397914#397914

#397914 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.4% C 0.145 H 137.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#397914
RGBrgb(57, 121, 20)
HSLhsl(98, 72%, 28%)
HSVhsv(98, 83%, 47%)
CMYKcmyk(52.9%, 0%, 83.5%, 52.5%)
CIE-LABlab(45.07, -38.34, 44.74)
CIE-LCHlch(45.07, 58.92, 130.59°)
OKLaboklab(51.38% -0.1065 0.0989)
OKLCHoklch(51.38% 0.145 137.1)
XYZxyz(8.6507, 14.5945, 3.0229)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397914 #541479
analogous
#6B7914 #397914 #147922
triadic
#397914 #143979 #791439
tetradic
#397914 #146B79 #541479 #792214
square
#397914 #146B79 #541479 #792214
split-complementary
#397914 #221479 #79146B
monochromatic
#0C1A04 #20440B #397914 #52AE1D #6CDC2B

Accessibility & contrast

On white

5.36
#397914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#397914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397914
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397914#FFFFFF#000000##FFFFFF
##3979141.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#756920
Tritanopia (blue-blind)
#357467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #397914;
/* rgb */ color: rgb(57, 121, 20);
/* oklch */ color: oklch(51.4% 0.145 137.1);
Tailwind
colors: {
  custom: {
    50: '#77a05b',
    500: '#397914',
    950: '#000000',
  },
}
SCSS
$custom: #397914;
$custom-light: #77a05b;
$custom-dark: #000000;
JSON
{
  "hex": "#397914",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 20
  },
  "hsl": {
    "h": 98.02,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51379,
    "c": 0.14537,
    "h": 137.1
  },
  "luminance": 0.14595
}

Semantic roles & 50–950 ramp

primary
#397914
secondary
#843AAF
accent
#39EEAC
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #397914

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

Preview Lab → · Contrast checker → · Palette generator →

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