#396819#396819

#396819 is a mid, vivid yellow-green. Relative luminance 0.108; OKLCH L 46.7% C 0.120 H 135.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#396819
RGBrgb(57, 104, 25)
HSLhsl(96, 61%, 25%)
HSVhsv(96, 76%, 41%)
CMYKcmyk(45.2%, 0%, 76%, 59.2%)
CIE-LABlab(39.31, -30.71, 37.38)
CIE-LCHlch(39.31, 48.38, 129.40°)
OKLaboklab(46.65% -0.0856 0.0843)
OKLCHoklch(46.65% 0.12 135.4)
XYZxyz(6.8130, 10.8403, 2.6529)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396819 #481968
analogous
#606819 #396819 #196820
triadic
#396819 #193968 #681939
tetradic
#396819 #196068 #481968 #682019
square
#396819 #196068 #481968 #682019
split-complementary
#396819 #201968 #681960
monochromatic
#0E1906 #1E370D #396819 #549925 #6FCB31

Accessibility & contrast

On white

6.63
#396819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#396819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396819
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396819#FFFFFF#000000##FFFFFF
##3968191.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0B
Deuteranopia (green-blind)
#665B21
Tritanopia (blue-blind)
#386459
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #396819;
/* rgb */ color: rgb(57, 104, 25);
/* oklch */ color: oklch(46.7% 0.120 135.4);
Tailwind
colors: {
  custom: {
    50: '#74935b',
    500: '#396819',
    950: '#000000',
  },
}
SCSS
$custom: #396819;
$custom-light: #74935b;
$custom-dark: #000000;
JSON
{
  "hex": "#396819",
  "rgb": {
    "r": 57,
    "g": 104,
    "b": 25
  },
  "hsl": {
    "h": 95.696,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46653,
    "c": 0.12018,
    "h": 135.4
  },
  "luminance": 0.10841
}

Semantic roles & 50–950 ramp

primary
#396819
secondary
#773F9E
accent
#43E4A3
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #396819

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

Preview Lab → · Contrast checker → · Palette generator →

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