#316018#316018

#316018 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 43.9% C 0.114 H 136.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#316018
RGBrgb(49, 96, 24)
HSLhsl(99, 60%, 24%)
HSVhsv(99, 75%, 38%)
CMYKcmyk(49%, 0%, 75%, 62.4%)
CIE-LABlab(36.15, -30.04, 34.45)
CIE-LCHlch(36.15, 45.71, 131.09°)
OKLaboklab(43.95% -0.0833 0.0782)
OKLCHoklch(43.95% 0.114 136.8)
XYZxyz(5.6142, 9.0843, 2.3216)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316018 #471860
analogous
#556018 #316018 #186023
triadic
#316018 #183160 #601831
tetradic
#316018 #185560 #471860 #602318
square
#316018 #185560 #471860 #602318
split-complementary
#316018 #231860 #601855
monochromatic
#0C1806 #182F0C #316018 #4A9124 #63C230

Accessibility & contrast

On white

7.45
#316018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#316018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #316018
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316018#FFFFFF#000000##FFFFFF
##3160181.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570D
Deuteranopia (green-blind)
#5D541F
Tritanopia (blue-blind)
#2F5C52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #316018;
/* rgb */ color: rgb(49, 96, 24);
/* oklch */ color: oklch(43.9% 0.114 136.8);
Tailwind
colors: {
  custom: {
    50: '#6e8d5a',
    500: '#316018',
    950: '#000000',
  },
}
SCSS
$custom: #316018;
$custom-light: #6e8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#316018",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 99.167,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43949,
    "c": 0.11425,
    "h": 136.8
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#316018
secondary
#773D96
accent
#45E3AC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #316018

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

Preview Lab → · Contrast checker → · Palette generator →

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