#308121#308121

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

Color values

HEX#308121
RGBrgb(48, 129, 33)
HSLhsl(111, 59%, 32%)
HSVhsv(111, 74%, 51%)
CMYKcmyk(62.8%, 0%, 74.4%, 49.4%)
CIE-LABlab(47.54, -43.14, 42.42)
CIE-LCHlch(47.54, 60.50, 135.48°)
OKLaboklab(53.35% -0.118 0.0962)
OKLCHoklch(53.35% 0.152 140.8)
XYZxyz(9.3432, 16.4378, 4.1190)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308121 #722181
analogous
#608121 #308121 #218142
triadic
#308121 #213081 #812130
tetradic
#308121 #216081 #722181 #814221
square
#308121 #216081 #722181 #814221
split-complementary
#308121 #422181 #812160
monochromatic
#0C2008 #1E5015 #308121 #42B22D #60D14B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308121#FFFFFF#000000##FFFFFF
##3081211.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)
#847510
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#247D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #308121;
/* rgb */ color: rgb(48, 129, 33);
/* oklch */ color: oklch(53.4% 0.152 140.8);
Tailwind
colors: {
  custom: {
    50: '#73a663',
    500: '#308121',
    950: '#000000',
  },
}
SCSS
$custom: #308121;
$custom-light: #73a663;
$custom-dark: #000000;
JSON
{
  "hex": "#308121",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 110.625,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53352,
    "c": 0.15224,
    "h": 140.8
  },
  "luminance": 0.16439
}

Semantic roles & 50–950 ramp

primary
#308121
secondary
#A34AB4
accent
#45E2CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #308121

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

Preview Lab → · Contrast checker → · Palette generator →

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