#397515#397515

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

Color values

HEX#397515
RGBrgb(57, 117, 21)
HSLhsl(98, 70%, 27%)
HSVhsv(98, 82%, 46%)
CMYKcmyk(51.3%, 0%, 82.1%, 54.1%)
CIE-LABlab(43.72, -36.63, 43.16)
CIE-LCHlch(43.72, 56.61, 130.32°)
OKLaboklab(50.27% -0.1019 0.0958)
OKLCHoklch(50.27% 0.14 136.8)
XYZxyz(8.1837, 13.6460, 2.9120)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397515 #511575
analogous
#697515 #397515 #157521
triadic
#397515 #153975 #751539
tetradic
#397515 #156975 #511575 #752115
square
#397515 #156975 #511575 #752115
split-complementary
#397515 #211575 #751569
monochromatic
#0D1A05 #20410C #397515 #52A91E #6CD92B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397515#FFFFFF#000000##FFFFFF
##3975151.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)
#796A00
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#367063
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #397515;
/* rgb */ color: rgb(57, 117, 21);
/* oklch */ color: oklch(50.3% 0.140 136.8);
Tailwind
colors: {
  custom: {
    50: '#769d5b',
    500: '#397515',
    950: '#000000',
  },
}
SCSS
$custom: #397515;
$custom-light: #769d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#397515",
  "rgb": {
    "r": 57,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 97.5,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50267,
    "c": 0.13982,
    "h": 136.8
  },
  "luminance": 0.13647
}

Semantic roles & 50–950 ramp

primary
#397515
secondary
#813BAB
accent
#3BECAA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #397515

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

Preview Lab → · Contrast checker → · Palette generator →

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