#305E22#305E22

#305E22 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.4% C 0.104 H 139.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#305E22
RGBrgb(48, 94, 34)
HSLhsl(106, 47%, 25%)
HSVhsv(106, 64%, 37%)
CMYKcmyk(48.9%, 0%, 63.8%, 63.1%)
CIE-LABlab(35.50, -28.45, 28.98)
CIE-LCHlch(35.50, 40.61, 134.47°)
OKLaboklab(43.43% -0.0782 0.0679)
OKLCHoklch(43.43% 0.104 139)
XYZxyz(5.5102, 8.7489, 2.9114)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E22 #50225E
analogous
#4E5E22 #305E22 #225E32
triadic
#305E22 #22305E #5E2230
tetradic
#305E22 #224E5E #50225E #5E3222
square
#305E22 #224E5E #50225E #5E3222
split-complementary
#305E22 #32225E #5E224E
monochromatic
#0B1608 #193112 #305E22 #478B32 #5EB843

Accessibility & contrast

On white

7.64
#305E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#305E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305E22
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305E22#FFFFFF#000000##FFFFFF
##305E221.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61561C
Deuteranopia (green-blind)
#5B5227
Tritanopia (blue-blind)
#2C5B51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #305e22;
/* rgb */ color: rgb(48, 94, 34);
/* oklch */ color: oklch(43.4% 0.104 139.0);
Tailwind
colors: {
  custom: {
    50: '#6c8c5f',
    500: '#305e22',
    950: '#000000',
  },
}
SCSS
$custom: #305e22;
$custom-light: #6c8c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#305e22",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 34
  },
  "hsl": {
    "h": 106,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.43434,
    "c": 0.10355,
    "h": 139
  },
  "luminance": 0.08749
}

Semantic roles & 50–950 ramp

primary
#305E22
secondary
#814A92
accent
#51D7B7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #305E22

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

Preview Lab → · Contrast checker → · Palette generator →

#305E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva