#397C17#397C17

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

Color values

HEX#397C17
RGBrgb(57, 124, 23)
HSLhsl(100, 69%, 29%)
HSVhsv(100, 81%, 49%)
CMYKcmyk(54%, 0%, 81.5%, 51.4%)
CIE-LABlab(46.10, -39.38, 44.75)
CIE-LCHlch(46.10, 59.61, 131.35°)
OKLaboklab(52.23% -0.1091 0.0994)
OKLCHoklch(52.23% 0.148 137.7)
XYZxyz(9.0493, 15.3463, 3.2957)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397C17 #5A177C
analogous
#6C7C17 #397C17 #177C28
triadic
#397C17 #17397C #7C1739
tetradic
#397C17 #176C7C #5A177C #7C2817
square
#397C17 #176C7C #5A177C #7C2817
split-complementary
#397C17 #28177C #7C176C
monochromatic
#0C1A05 #21480D #397C17 #51B021 #6CD934

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397C17#FFFFFF#000000##FFFFFF
##397C171.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)
#786B23
Tritanopia (blue-blind)
#347769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397c17;
/* rgb */ color: rgb(57, 124, 23);
/* oklch */ color: oklch(52.2% 0.148 137.7);
Tailwind
colors: {
  custom: {
    50: '#77a25d',
    500: '#397c17',
    950: '#000000',
  },
}
SCSS
$custom: #397c17;
$custom-light: #77a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#397c17",
  "rgb": {
    "r": 57,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 99.802,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52234,
    "c": 0.14763,
    "h": 137.7
  },
  "luminance": 0.15347
}

Semantic roles & 50–950 ramp

primary
#397C17
secondary
#8A3EB1
accent
#3CECB1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397C17

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

Preview Lab → · Contrast checker → · Palette generator →

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