#306115#306115

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

Color values

HEX#306115
RGBrgb(48, 97, 21)
HSLhsl(99, 64%, 23%)
HSVhsv(99, 78%, 38%)
CMYKcmyk(50.5%, 0%, 78.4%, 62%)
CIE-LABlab(36.43, -31.08, 35.96)
CIE-LCHlch(36.43, 47.53, 130.84°)
OKLaboklab(44.16% -0.0863 0.0809)
OKLCHoklch(44.16% 0.118 136.9)
XYZxyz(5.6288, 9.2315, 2.1946)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306115 #461561
analogous
#566115 #306115 #156120
triadic
#306115 #153061 #611530
tetradic
#306115 #155661 #461561 #612015
square
#306115 #155661 #461561 #612015
split-complementary
#306115 #201561 #611556
monochromatic
#0C1905 #172F0A #306115 #499320 #62C62B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306115#FFFFFF#000000##FFFFFF
##3061151.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)
#655807
Deuteranopia (green-blind)
#5E541D
Tritanopia (blue-blind)
#2D5D52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #306115;
/* rgb */ color: rgb(48, 97, 21);
/* oklch */ color: oklch(44.2% 0.118 136.9);
Tailwind
colors: {
  custom: {
    50: '#6e8e58',
    500: '#306115',
    950: '#000000',
  },
}
SCSS
$custom: #306115;
$custom-light: #6e8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#306115",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 98.684,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44159,
    "c": 0.11827,
    "h": 136.9
  },
  "luminance": 0.09232
}

Semantic roles & 50–950 ramp

primary
#306115
secondary
#773A98
accent
#40E7AC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #306115

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

Preview Lab → · Contrast checker → · Palette generator →

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