#316618#316618

#316618 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.7% C 0.123 H 137.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#316618
RGBrgb(49, 102, 24)
HSLhsl(101, 62%, 25%)
HSVhsv(101, 76%, 40%)
CMYKcmyk(52%, 0%, 76.5%, 60%)
CIE-LABlab(38.24, -32.69, 36.58)
CIE-LCHlch(38.24, 49.06, 131.79°)
OKLaboklab(45.67% -0.0905 0.0826)
OKLCHoklch(45.67% 0.123 137.6)
XYZxyz(6.1827, 10.2212, 2.5111)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316618 #4D1866
analogous
#586618 #316618 #186626
triadic
#316618 #183166 #661831
tetradic
#316618 #185866 #4D1866 #662618
square
#316618 #185866 #4D1866 #662618
split-complementary
#316618 #261866 #661858
monochromatic
#0C1906 #19340C #316618 #499824 #61C92F

Accessibility & contrast

On white

6.90
#316618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#316618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316618
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316618#FFFFFF#000000##FFFFFF
##3166181.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D0A
Deuteranopia (green-blind)
#635820
Tritanopia (blue-blind)
#2D6257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #316618;
/* rgb */ color: rgb(49, 102, 24);
/* oklch */ color: oklch(45.7% 0.123 137.6);
Tailwind
colors: {
  custom: {
    50: '#6f925a',
    500: '#316618',
    950: '#000000',
  },
}
SCSS
$custom: #316618;
$custom-light: #6f925a;
$custom-dark: #000000;
JSON
{
  "hex": "#316618",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 100.769,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45666,
    "c": 0.12254,
    "h": 137.6
  },
  "luminance": 0.10222
}

Semantic roles & 50–950 ramp

primary
#316618
secondary
#7E3E9C
accent
#43E5B1
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316618

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

Preview Lab → · Contrast checker → · Palette generator →

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