#306116#306116

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

Color values

HEX#306116
RGBrgb(48, 97, 22)
HSLhsl(99, 63%, 23%)
HSVhsv(99, 77%, 38%)
CMYKcmyk(50.5%, 0%, 77.3%, 62%)
CIE-LABlab(36.43, -31.00, 35.57)
CIE-LCHlch(36.43, 47.18, 131.08°)
OKLaboklab(44.17% -0.086 0.0802)
OKLCHoklch(44.17% 0.118 137)
XYZxyz(5.6383, 9.2353, 2.2444)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306116 #471661
analogous
#556116 #306116 #166121
triadic
#306116 #163061 #611630
tetradic
#306116 #165561 #471661 #612116
square
#306116 #165561 #471661 #612116
split-complementary
#306116 #211661 #611655
monochromatic
#0C1906 #172F0B #306116 #499321 #61C52D

Accessibility & contrast

On white

7.38
#306116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #306116
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306116#FFFFFF#000000##FFFFFF
##3061161.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645808
Deuteranopia (green-blind)
#5E541D
Tritanopia (blue-blind)
#2D5D52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #306116;
/* rgb */ color: rgb(48, 97, 22);
/* oklch */ color: oklch(44.2% 0.118 137.0);
Tailwind
colors: {
  custom: {
    50: '#6e8e59',
    500: '#306116',
    950: '#000000',
  },
}
SCSS
$custom: #306116;
$custom-light: #6e8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#306116",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 22
  },
  "hsl": {
    "h": 99.2,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44167,
    "c": 0.1176,
    "h": 137
  },
  "luminance": 0.09236
}

Semantic roles & 50–950 ramp

primary
#306116
secondary
#783B98
accent
#42E6AD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #306116

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

Preview Lab → · Contrast checker → · Palette generator →

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