#396718#396718

#396718 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.4% C 0.119 H 135.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#396718
RGBrgb(57, 103, 24)
HSLhsl(95, 62%, 25%)
HSVhsv(95, 77%, 40%)
CMYKcmyk(44.7%, 0%, 76.7%, 59.6%)
CIE-LABlab(38.96, -30.33, 37.44)
CIE-LCHlch(38.96, 48.18, 129.01°)
OKLaboklab(46.36% -0.0847 0.0843)
OKLCHoklch(46.36% 0.119 135.1)
XYZxyz(6.7023, 10.6359, 2.5638)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396718 #461867
analogous
#606718 #396718 #18671F
triadic
#396718 #183967 #671839
tetradic
#396718 #186067 #461867 #671F18
square
#396718 #186067 #461867 #671F18
split-complementary
#396718 #1F1867 #671860
monochromatic
#0E1906 #1E350C #396718 #549924 #70CA2F

Accessibility & contrast

On white

6.72
#396718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#396718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396718
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396718#FFFFFF#000000##FFFFFF
##3967181.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0A
Deuteranopia (green-blind)
#655A20
Tritanopia (blue-blind)
#386358
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #396718;
/* rgb */ color: rgb(57, 103, 24);
/* oklch */ color: oklch(46.4% 0.119 135.1);
Tailwind
colors: {
  custom: {
    50: '#74935b',
    500: '#396718',
    950: '#000000',
  },
}
SCSS
$custom: #396718;
$custom-light: #74935b;
$custom-dark: #000000;
JSON
{
  "hex": "#396718",
  "rgb": {
    "r": 57,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 94.937,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46364,
    "c": 0.11947,
    "h": 135.1
  },
  "luminance": 0.10636
}

Semantic roles & 50–950 ramp

primary
#396718
secondary
#753E9D
accent
#43E5A1
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #396718

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

Preview Lab → · Contrast checker → · Palette generator →

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