#306B22#306B22

#306B22 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.1% C 0.122 H 140.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#306B22
RGBrgb(48, 107, 34)
HSLhsl(108, 52%, 28%)
HSVhsv(108, 68%, 42%)
CMYKcmyk(55.1%, 0%, 68.2%, 58%)
CIE-LABlab(40.01, -34.22, 34.03)
CIE-LCHlch(40.01, 48.26, 135.16°)
OKLaboklab(47.14% -0.0938 0.0787)
OKLCHoklch(47.14% 0.122 140)
XYZxyz(6.7651, 11.2587, 3.3297)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306B22 #5D226B
analogous
#546B22 #306B22 #226B38
triadic
#306B22 #22306B #6B2230
tetradic
#306B22 #22546B #5D226B #6B3822
square
#306B22 #22546B #5D226B #6B3822
split-complementary
#306B22 #38226B #6B2254
monochromatic
#0A1707 #1B3D13 #306B22 #459931 #5CC444

Accessibility & contrast

On white

6.46
#306B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#306B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306B22
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306B22#FFFFFF#000000##FFFFFF
##306B221.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6119
Deuteranopia (green-blind)
#665C28
Tritanopia (blue-blind)
#2A675C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #306b22;
/* rgb */ color: rgb(48, 107, 34);
/* oklch */ color: oklch(47.1% 0.122 140.0);
Tailwind
colors: {
  custom: {
    50: '#6f9661',
    500: '#306b22',
    950: '#000000',
  },
}
SCSS
$custom: #306b22;
$custom-light: #6f9661;
$custom-dark: #000000;
JSON
{
  "hex": "#306b22",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 34
  },
  "hsl": {
    "h": 108.493,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.47143,
    "c": 0.12246,
    "h": 140
  },
  "luminance": 0.11259
}

Semantic roles & 50–950 ramp

primary
#306B22
secondary
#8E4A9F
accent
#4DDBC0
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #306B22

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

Preview Lab → · Contrast checker → · Palette generator →

#306B22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva