#308822#308822

#308822 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.3% C 0.160 H 141.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#308822
RGBrgb(48, 136, 34)
HSLhsl(112, 60%, 33%)
HSVhsv(112, 75%, 53%)
CMYKcmyk(64.7%, 0%, 75%, 46.7%)
CIE-LABlab(49.92, -45.67, 44.45)
CIE-LCHlch(49.92, 63.73, 135.78°)
OKLaboklab(55.32% -0.1248 0.1005)
OKLCHoklch(55.32% 0.16 141.1)
XYZxyz(10.3113, 18.3512, 4.5118)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308822 #7A2288
analogous
#638822 #308822 #228847
triadic
#308822 #223088 #882230
tetradic
#308822 #226388 #7A2288 #884722
square
#308822 #226388 #7A2288 #884722
split-complementary
#308822 #472288 #882263
monochromatic
#0D260A #1F5716 #308822 #41B92E #63D351

Accessibility & contrast

On white

4.50
#308822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#308822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308822
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308822#FFFFFF#000000##000000
##3088221.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0F
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#218474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #308822;
/* rgb */ color: rgb(48, 136, 34);
/* oklch */ color: oklch(55.3% 0.160 141.1);
Tailwind
colors: {
  custom: {
    50: '#74ac64',
    500: '#308822',
    950: '#000000',
  },
}
SCSS
$custom: #308822;
$custom-light: #74ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#308822",
  "rgb": {
    "r": 48,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 111.765,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5532,
    "c": 0.16026,
    "h": 141.1
  },
  "luminance": 0.18352
}

Semantic roles & 50–950 ramp

primary
#308822
secondary
#A94FB7
accent
#45E3CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308822

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

Preview Lab → · Contrast checker → · Palette generator →

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