#396618#396618

#396618 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.1% C 0.118 H 135.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#396618
RGBrgb(57, 102, 24)
HSLhsl(95, 62%, 25%)
HSVhsv(95, 76%, 40%)
CMYKcmyk(44.1%, 0%, 76.5%, 60%)
CIE-LABlab(38.62, -29.87, 37.09)
CIE-LCHlch(38.62, 47.63, 128.85°)
OKLaboklab(46.08% -0.0834 0.0836)
OKLCHoklch(46.08% 0.118 135)
XYZxyz(6.6034, 10.4382, 2.5308)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396618 #451866
analogous
#606618 #396618 #18661E
triadic
#396618 #183966 #661839
tetradic
#396618 #186066 #451866 #661E18
square
#396618 #186066 #451866 #661E18
split-complementary
#396618 #1E1866 #661860
monochromatic
#0E1906 #1D340C #396618 #559824 #70C92F

Accessibility & contrast

On white

6.80
#396618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#396618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396618
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396618#FFFFFF#000000##FFFFFF
##3966181.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0A
Deuteranopia (green-blind)
#645A20
Tritanopia (blue-blind)
#386257
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #396618;
/* rgb */ color: rgb(57, 102, 24);
/* oklch */ color: oklch(46.1% 0.118 135.0);
Tailwind
colors: {
  custom: {
    50: '#74925b',
    500: '#396618',
    950: '#000000',
  },
}
SCSS
$custom: #396618;
$custom-light: #74925b;
$custom-dark: #000000;
JSON
{
  "hex": "#396618",
  "rgb": {
    "r": 57,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 94.615,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46083,
    "c": 0.11809,
    "h": 135
  },
  "luminance": 0.10439
}

Semantic roles & 50–950 ramp

primary
#396618
secondary
#743E9C
accent
#43E5A0
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #396618

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

Preview Lab → · Contrast checker → · Palette generator →

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