#397518#397518

#397518 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.3% C 0.138 H 137.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#397518
RGBrgb(57, 117, 24)
HSLhsl(99, 66%, 28%)
HSVhsv(99, 79%, 46%)
CMYKcmyk(51.3%, 0%, 79.5%, 54.1%)
CIE-LABlab(43.74, -36.44, 42.14)
CIE-LCHlch(43.74, 55.71, 130.85°)
OKLaboklab(50.29% -0.1012 0.0941)
OKLCHoklch(50.29% 0.138 137.1)
XYZxyz(8.2133, 13.6578, 3.0674)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397518 #541875
analogous
#677518 #397518 #187526
triadic
#397518 #183975 #751839
tetradic
#397518 #186775 #541875 #752618
square
#397518 #186775 #541875 #752618
split-complementary
#397518 #261875 #751867
monochromatic
#0C1905 #20420E #397518 #52A822 #6CD532

Accessibility & contrast

On white

5.63
#397518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#397518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397518
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397518#FFFFFF#000000##FFFFFF
##3975181.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A03
Deuteranopia (green-blind)
#716622
Tritanopia (blue-blind)
#357163
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #397518;
/* rgb */ color: rgb(57, 117, 24);
/* oklch */ color: oklch(50.3% 0.138 137.1);
Tailwind
colors: {
  custom: {
    50: '#769d5d',
    500: '#397518',
    950: '#000000',
  },
}
SCSS
$custom: #397518;
$custom-light: #769d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#397518",
  "rgb": {
    "r": 57,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 98.71,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50287,
    "c": 0.13818,
    "h": 137.1
  },
  "luminance": 0.13658
}

Semantic roles & 50–950 ramp

primary
#397518
secondary
#843FAA
accent
#3FE9AD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397518

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

Preview Lab → · Contrast checker → · Palette generator →

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