#397415#397415

#397415 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.0% C 0.139 H 136.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#397415
RGBrgb(57, 116, 21)
HSLhsl(97, 69%, 27%)
HSVhsv(97, 82%, 45%)
CMYKcmyk(50.9%, 0%, 81.9%, 54.5%)
CIE-LABlab(43.38, -36.21, 42.84)
CIE-LCHlch(43.38, 56.09, 130.21°)
OKLaboklab(49.99% -0.1007 0.0951)
OKLCHoklch(49.99% 0.139 136.6)
XYZxyz(8.0679, 13.4142, 2.8734)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397415 #501574
analogous
#697415 #397415 #157421
triadic
#397415 #153974 #741539
tetradic
#397415 #156974 #501574 #742115
square
#397415 #156974 #501574 #742115
split-complementary
#397415 #211574 #741569
monochromatic
#0D1A05 #20400C #397415 #52A81E #6DD92B

Accessibility & contrast

On white

5.70
#397415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#397415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397415
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397415#FFFFFF#000000##FFFFFF
##3974151.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#366F62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #397415;
/* rgb */ color: rgb(57, 116, 21);
/* oklch */ color: oklch(50.0% 0.139 136.6);
Tailwind
colors: {
  custom: {
    50: '#769c5b',
    500: '#397415',
    950: '#000000',
  },
}
SCSS
$custom: #397415;
$custom-light: #769c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#397415",
  "rgb": {
    "r": 57,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 97.263,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49988,
    "c": 0.13854,
    "h": 136.6
  },
  "luminance": 0.13415
}

Semantic roles & 50–950 ramp

primary
#397415
secondary
#803BAA
accent
#3CECA9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397415

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

Preview Lab → · Contrast checker → · Palette generator →

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