#397C15#397C15

#397C15 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.2% C 0.149 H 137.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#397C15
RGBrgb(57, 124, 21)
HSLhsl(99, 71%, 28%)
HSVhsv(99, 83%, 49%)
CMYKcmyk(54%, 0%, 83.1%, 51.4%)
CIE-LABlab(46.09, -39.50, 45.38)
CIE-LCHlch(46.09, 60.16, 131.04°)
OKLaboklab(52.22% -0.1096 0.1004)
OKLCHoklch(52.22% 0.149 137.5)
XYZxyz(9.0301, 15.3386, 3.1941)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397C15 #58157C
analogous
#6C7C15 #397C15 #157C24
triadic
#397C15 #15397C #7C1539
tetradic
#397C15 #156C7C #58157C #7C2415
square
#397C15 #156C7C #58157C #7C2415
split-complementary
#397C15 #24157C #7C156C
monochromatic
#0C1A04 #21480C #397C15 #51B01E #6CDC30

Accessibility & contrast

On white

5.16
#397C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#397C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397C15
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397C15#FFFFFF#000000##FFFFFF
##397C151.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#347769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397c15;
/* rgb */ color: rgb(57, 124, 21);
/* oklch */ color: oklch(52.2% 0.149 137.5);
Tailwind
colors: {
  custom: {
    50: '#77a25c',
    500: '#397c15',
    950: '#000000',
  },
}
SCSS
$custom: #397c15;
$custom-light: #77a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#397c15",
  "rgb": {
    "r": 57,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 99.029,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52222,
    "c": 0.14863,
    "h": 137.5
  },
  "luminance": 0.15339
}

Semantic roles & 50–950 ramp

primary
#397C15
secondary
#883CB1
accent
#3AEEAF
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #397C15

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

Preview Lab → · Contrast checker → · Palette generator →

#397C15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva