#308122#308122

#308122 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.152 H 141.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#308122
RGBrgb(48, 129, 34)
HSLhsl(111, 58%, 32%)
HSVhsv(111, 74%, 51%)
CMYKcmyk(62.8%, 0%, 73.6%, 49.4%)
CIE-LABlab(47.55, -43.05, 42.03)
CIE-LCHlch(47.55, 60.16, 135.69°)
OKLaboklab(53.36% -0.1177 0.0955)
OKLCHoklch(53.36% 0.152 141)
XYZxyz(9.3575, 16.4435, 4.1939)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308122 #732281
analogous
#608122 #308122 #228144
triadic
#308122 #223081 #812230
tetradic
#308122 #226081 #732281 #814422
square
#308122 #226081 #732281 #814422
split-complementary
#308122 #442281 #812260
monochromatic
#0C2008 #1E5115 #308122 #42B12F #61D04D

Accessibility & contrast

On white

4.90
#308122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#308122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308122
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308122#FFFFFF#000000##FFFFFF
##3081221.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847512
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#247D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #308122;
/* rgb */ color: rgb(48, 129, 34);
/* oklch */ color: oklch(53.4% 0.152 141.0);
Tailwind
colors: {
  custom: {
    50: '#73a663',
    500: '#308122',
    950: '#000000',
  },
}
SCSS
$custom: #308122;
$custom-light: #73a663;
$custom-dark: #000000;
JSON
{
  "hex": "#308122",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 111.158,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53361,
    "c": 0.15159,
    "h": 141
  },
  "luminance": 0.16444
}

Semantic roles & 50–950 ramp

primary
#308122
secondary
#A44BB3
accent
#46E1CB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #308122

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

Preview Lab → · Contrast checker → · Palette generator →

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