#396E18#396E18

#396E18 is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.3% C 0.129 H 136.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#396E18
RGBrgb(57, 110, 24)
HSLhsl(97, 64%, 26%)
HSVhsv(97, 78%, 43%)
CMYKcmyk(48.2%, 0%, 78.2%, 56.9%)
CIE-LABlab(41.35, -33.45, 39.81)
CIE-LCHlch(41.35, 52.00, 130.03°)
OKLaboklab(48.33% -0.0931 0.0893)
OKLCHoklch(48.33% 0.129 136.2)
XYZxyz(7.4279, 12.0872, 2.8056)
Luminance0.1209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396E18 #4D186E
analogous
#646E18 #396E18 #186E22
triadic
#396E18 #18396E #6E1839
tetradic
#396E18 #18646E #4D186E #6E2218
square
#396E18 #18646E #4D186E #6E2218
split-complementary
#396E18 #22186E #6E1864
monochromatic
#0D1905 #1F3C0D #396E18 #53A023 #6DD22F

Accessibility & contrast

On white

6.14
#396E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#396E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396E18
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396E18#FFFFFF#000000##FFFFFF
##396E181.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726406
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#376A5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #396e18;
/* rgb */ color: rgb(57, 110, 24);
/* oklch */ color: oklch(48.3% 0.129 136.2);
Tailwind
colors: {
  custom: {
    50: '#75985c',
    500: '#396e18',
    950: '#000000',
  },
}
SCSS
$custom: #396e18;
$custom-light: #75985c;
$custom-dark: #000000;
JSON
{
  "hex": "#396e18",
  "rgb": {
    "r": 57,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 96.977,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48328,
    "c": 0.12898,
    "h": 136.2
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

primary
#396E18
secondary
#7D3EA4
accent
#41E7A7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #396E18

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

Preview Lab → · Contrast checker → · Palette generator →

#396E18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva