#316118#316118

#316118 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.2% C 0.116 H 137.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#316118
RGBrgb(49, 97, 24)
HSLhsl(99, 60%, 24%)
HSVhsv(99, 75%, 38%)
CMYKcmyk(49.5%, 0%, 75.3%, 62%)
CIE-LABlab(36.50, -30.49, 34.81)
CIE-LCHlch(36.50, 46.27, 131.22°)
OKLaboklab(44.24% -0.0845 0.0789)
OKLCHoklch(44.24% 0.116 137)
XYZxyz(5.7060, 9.2679, 2.3522)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316118 #481861
analogous
#556118 #316118 #186123
triadic
#316118 #183161 #611831
tetradic
#316118 #185561 #481861 #612318
square
#316118 #185561 #481861 #612318
split-complementary
#316118 #231861 #611855
monochromatic
#0C1906 #18300C #316118 #4A9224 #63C330

Accessibility & contrast

On white

7.36
#316118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#316118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #316118
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316118#FFFFFF#000000##FFFFFF
##3161181.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580C
Deuteranopia (green-blind)
#5E541F
Tritanopia (blue-blind)
#2E5D53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #316118;
/* rgb */ color: rgb(49, 97, 24);
/* oklch */ color: oklch(44.2% 0.116 137.0);
Tailwind
colors: {
  custom: {
    50: '#6e8e5a',
    500: '#316118',
    950: '#000000',
  },
}
SCSS
$custom: #316118;
$custom-light: #6e8e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#316118",
  "rgb": {
    "r": 49,
    "g": 97,
    "b": 24
  },
  "hsl": {
    "h": 99.452,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44235,
    "c": 0.11565,
    "h": 137
  },
  "luminance": 0.09268
}

Semantic roles & 50–950 ramp

primary
#316118
secondary
#793D97
accent
#44E3AD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #316118

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

Preview Lab → · Contrast checker → · Palette generator →

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