#397915#397915

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

Color values

HEX#397915
RGBrgb(57, 121, 21)
HSLhsl(98, 70%, 28%)
HSVhsv(98, 83%, 47%)
CMYKcmyk(52.9%, 0%, 82.6%, 52.5%)
CIE-LABlab(45.08, -38.28, 44.43)
CIE-LCHlch(45.08, 58.65, 130.75°)
OKLaboklab(51.39% -0.1063 0.0985)
OKLCHoklch(51.39% 0.145 137.2)
XYZxyz(8.6598, 14.5981, 3.0707)
Luminance0.1460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397915 #551579
analogous
#6B7915 #397915 #157923
triadic
#397915 #153979 #791539
tetradic
#397915 #156B79 #551579 #792315
square
#397915 #156B79 #551579 #792315
split-complementary
#397915 #231579 #79156B
monochromatic
#0C1A05 #20450C #397915 #52AD1E #6CDB2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397915#FFFFFF#000000##FFFFFF
##3979151.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)
#756921
Tritanopia (blue-blind)
#357467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #397915;
/* rgb */ color: rgb(57, 121, 21);
/* oklch */ color: oklch(51.4% 0.145 137.2);
Tailwind
colors: {
  custom: {
    50: '#77a05c',
    500: '#397915',
    950: '#000000',
  },
}
SCSS
$custom: #397915;
$custom-light: #77a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#397915",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 98.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51385,
    "c": 0.14489,
    "h": 137.2
  },
  "luminance": 0.14599
}

Semantic roles & 50–950 ramp

primary
#397915
secondary
#853BAF
accent
#3BEDAD
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #397915

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

Preview Lab → · Contrast checker → · Palette generator →

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