#306226#306226

#306226 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.6% C 0.106 H 140.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#306226
RGBrgb(48, 98, 38)
HSLhsl(110, 44%, 27%)
HSVhsv(110, 61%, 38%)
CMYKcmyk(51%, 0%, 61.2%, 61.6%)
CIE-LABlab(36.94, -29.79, 28.57)
CIE-LCHlch(36.94, 41.28, 136.20°)
OKLaboklab(44.63% -0.0815 0.0674)
OKLCHoklch(44.63% 0.106 140.4)
XYZxyz(5.9362, 9.5033, 3.3549)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306226 #582662
analogous
#4E6226 #306226 #26623A
triadic
#306226 #263062 #622630
tetradic
#306226 #264E62 #582662 #623A26
square
#306226 #264E62 #582662 #623A26
split-complementary
#306226 #3A2662 #62264E
monochromatic
#0B1609 #1A3615 #306226 #468E37 #5CB94A

Accessibility & contrast

On white

7.24
#306226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#306226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306226
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306226#FFFFFF#000000##FFFFFF
##3062261.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A20
Deuteranopia (green-blind)
#5E552B
Tritanopia (blue-blind)
#2B5F55
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #306226;
/* rgb */ color: rgb(48, 98, 38);
/* oklch */ color: oklch(44.6% 0.106 140.4);
Tailwind
colors: {
  custom: {
    50: '#6d8f62',
    500: '#306226',
    950: '#000000',
  },
}
SCSS
$custom: #306226;
$custom-light: #6d8f62;
$custom-dark: #000000;
JSON
{
  "hex": "#306226",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 38
  },
  "hsl": {
    "h": 110,
    "s": 44.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.44629,
    "c": 0.10582,
    "h": 140.4
  },
  "luminance": 0.09504
}

Semantic roles & 50–950 ramp

primary
#306226
secondary
#894F95
accent
#54D4BF
background
#F6F8F5
surface
#ECF0EA
border
#C7CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #306226

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

Preview Lab → · Contrast checker → · Palette generator →

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