#397E15#397E15

#397E15 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.8% C 0.151 H 137.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#397E15
RGBrgb(57, 126, 21)
HSLhsl(99, 71%, 29%)
HSVhsv(99, 83%, 49%)
CMYKcmyk(54.8%, 0%, 83.3%, 50.6%)
CIE-LABlab(46.77, -40.30, 46.00)
CIE-LCHlch(46.77, 61.16, 131.22°)
OKLaboklab(52.78% -0.1117 0.1017)
OKLCHoklch(52.78% 0.151 137.7)
XYZxyz(9.2832, 15.8450, 3.2785)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E15 #5A157E
analogous
#6E7E15 #397E15 #157E26
triadic
#397E15 #15397E #7E1539
tetradic
#397E15 #156E7E #5A157E #7E2615
square
#397E15 #156E7E #5A157E #7E2615
split-complementary
#397E15 #26157E #7E156E
monochromatic
#0C1A04 #214A0C #397E15 #51B21E #6CDD31

Accessibility & contrast

On white

5.04
#397E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#397E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397E15
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397E15#FFFFFF#000000##FFFFFF
##397E151.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796D22
Tritanopia (blue-blind)
#34796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e15;
/* rgb */ color: rgb(57, 126, 21);
/* oklch */ color: oklch(52.8% 0.151 137.7);
Tailwind
colors: {
  custom: {
    50: '#78a45d',
    500: '#397e15',
    950: '#000000',
  },
}
SCSS
$custom: #397e15;
$custom-light: #78a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#397e15",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 99.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52779,
    "c": 0.1511,
    "h": 137.7
  },
  "luminance": 0.15846
}

Semantic roles & 50–950 ramp

primary
#397E15
secondary
#8A3CB3
accent
#3AEEB0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397E15

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

Preview Lab → · Contrast checker → · Palette generator →

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