#397618#397618

#397618 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.6% C 0.139 H 137.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#397618
RGBrgb(57, 118, 24)
HSLhsl(99, 66%, 28%)
HSVhsv(99, 80%, 46%)
CMYKcmyk(51.7%, 0%, 79.7%, 53.7%)
CIE-LABlab(44.08, -36.86, 42.47)
CIE-LCHlch(44.08, 56.23, 130.95°)
OKLaboklab(50.57% -0.1023 0.0948)
OKLCHoklch(50.57% 0.139 137.2)
XYZxyz(8.3304, 13.8921, 3.1065)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397618 #551876
analogous
#687618 #397618 #187626
triadic
#397618 #183976 #761839
tetradic
#397618 #186876 #551876 #762618
square
#397618 #186876 #551876 #762618
split-complementary
#397618 #261876 #761868
monochromatic
#0C1905 #20430E #397618 #52A922 #6CD533

Accessibility & contrast

On white

5.56
#397618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#397618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397618
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397618#FFFFFF#000000##FFFFFF
##3976181.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B02
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#357264
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #397618;
/* rgb */ color: rgb(57, 118, 24);
/* oklch */ color: oklch(50.6% 0.139 137.2);
Tailwind
colors: {
  custom: {
    50: '#769e5d',
    500: '#397618',
    950: '#000000',
  },
}
SCSS
$custom: #397618;
$custom-light: #769e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#397618",
  "rgb": {
    "r": 57,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 98.936,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50567,
    "c": 0.13947,
    "h": 137.2
  },
  "luminance": 0.13893
}

Semantic roles & 50–950 ramp

primary
#397618
secondary
#853FAB
accent
#3FE9AD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397618

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

Preview Lab → · Contrast checker → · Palette generator →

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