#397D10#397D10

#397D10 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.5% C 0.152 H 137.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#397D10
RGBrgb(57, 125, 16)
HSLhsl(97, 77%, 28%)
HSVhsv(97, 87%, 49%)
CMYKcmyk(54.4%, 0%, 87.2%, 51%)
CIE-LABlab(46.41, -40.15, 47.09)
CIE-LCHlch(46.41, 61.89, 130.45°)
OKLaboklab(52.48% -0.1116 0.1033)
OKLCHoklch(52.48% 0.152 137.2)
XYZxyz(9.1142, 15.5738, 3.0159)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D10 #54107D
analogous
#707D10 #397D10 #107D1D
triadic
#397D10 #10397D #7D1039
tetradic
#397D10 #10707D #54107D #7D1D10
square
#397D10 #10707D #54107D #7D1D10
split-complementary
#397D10 #1D107D #7D1070
monochromatic
#0C1B03 #204709 #397D10 #52B317 #6CE324

Accessibility & contrast

On white

5.10
#397D10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#397D10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397D10
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397D10#FFFFFF#000000##FFFFFF
##397D101.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#34786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d10;
/* rgb */ color: rgb(57, 125, 16);
/* oklch */ color: oklch(52.5% 0.152 137.2);
Tailwind
colors: {
  custom: {
    50: '#78a35b',
    500: '#397d10',
    950: '#000000',
  },
}
SCSS
$custom: #397d10;
$custom-light: #78a35b;
$custom-dark: #000000;
JSON
{
  "hex": "#397d10",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 16
  },
  "hsl": {
    "h": 97.431,
    "s": 77.305,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52475,
    "c": 0.15205,
    "h": 137.2
  },
  "luminance": 0.15574
}

Semantic roles & 50–950 ramp

primary
#397D10
secondary
#8435B3
accent
#34F4AC
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #397D10

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

Preview Lab → · Contrast checker → · Palette generator →

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